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" ] }