fix: rename index field key from fields to idxfields

This commit is contained in:
yumoqing 2026-04-29 14:50:55 +08:00
parent eab031e502
commit d2413401ba
3 changed files with 7 additions and 7 deletions

View File

@ -76,21 +76,21 @@
{ {
"name": "idx_dashboard_org", "name": "idx_dashboard_org",
"idxtype": "index", "idxtype": "index",
"fields": [ "idxfields": [
"org_id" "org_id"
] ]
}, },
{ {
"name": "idx_dashboard_type", "name": "idx_dashboard_type",
"idxtype": "index", "idxtype": "index",
"fields": [ "idxfields": [
"dashboard_type" "dashboard_type"
] ]
}, },
{ {
"name": "uk_dashboard_name_org", "name": "uk_dashboard_name_org",
"idxtype": "unique", "idxtype": "unique",
"fields": [ "idxfields": [
"dashboard_name", "dashboard_name",
"org_id" "org_id"
] ]

View File

@ -100,14 +100,14 @@
{ {
"name": "idx_template_org", "name": "idx_template_org",
"idxtype": "index", "idxtype": "index",
"fields": [ "idxfields": [
"org_id" "org_id"
] ]
}, },
{ {
"name": "idx_template_type", "name": "idx_template_type",
"idxtype": "index", "idxtype": "index",
"fields": [ "idxfields": [
"report_type" "report_type"
] ]
} }

View File

@ -61,7 +61,7 @@
{ {
"name": "idx_user_dashboard_user", "name": "idx_user_dashboard_user",
"idxtype": "unique", "idxtype": "unique",
"fields": [ "idxfields": [
"user_id", "user_id",
"dashboard_config_id" "dashboard_config_id"
] ]
@ -69,7 +69,7 @@
{ {
"name": "idx_user_dashboard_org", "name": "idx_user_dashboard_org",
"idxtype": "index", "idxtype": "index",
"fields": [ "idxfields": [
"org_id" "org_id"
] ]
} }