From d2413401ba367d4161b5ea78af071281a4c2a5c3 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 29 Apr 2026 14:50:55 +0800 Subject: [PATCH] fix: rename index field key from fields to idxfields --- models/dashboard_config.json | 6 +++--- models/report_template.json | 4 ++-- models/user_dashboard.json | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/models/dashboard_config.json b/models/dashboard_config.json index 426bb85..9ab5b19 100644 --- a/models/dashboard_config.json +++ b/models/dashboard_config.json @@ -76,21 +76,21 @@ { "name": "idx_dashboard_org", "idxtype": "index", - "fields": [ + "idxfields": [ "org_id" ] }, { "name": "idx_dashboard_type", "idxtype": "index", - "fields": [ + "idxfields": [ "dashboard_type" ] }, { "name": "uk_dashboard_name_org", "idxtype": "unique", - "fields": [ + "idxfields": [ "dashboard_name", "org_id" ] diff --git a/models/report_template.json b/models/report_template.json index 143e186..615ea78 100644 --- a/models/report_template.json +++ b/models/report_template.json @@ -100,14 +100,14 @@ { "name": "idx_template_org", "idxtype": "index", - "fields": [ + "idxfields": [ "org_id" ] }, { "name": "idx_template_type", "idxtype": "index", - "fields": [ + "idxfields": [ "report_type" ] } diff --git a/models/user_dashboard.json b/models/user_dashboard.json index ea441dc..e6c4b34 100644 --- a/models/user_dashboard.json +++ b/models/user_dashboard.json @@ -61,7 +61,7 @@ { "name": "idx_user_dashboard_user", "idxtype": "unique", - "fields": [ + "idxfields": [ "user_id", "dashboard_config_id" ] @@ -69,7 +69,7 @@ { "name": "idx_user_dashboard_org", "idxtype": "index", - "fields": [ + "idxfields": [ "org_id" ] }