From d85789fa3e9081ae5591a424de0d9da2788f053e Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 27 May 2026 13:23:33 +0800 Subject: [PATCH] refactor(models): convert to json format per database-table-definition-spec --- models/dashboard_config.json | 4 +++- models/report_template.json | 4 +++- models/user_dashboard.json | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/models/dashboard_config.json b/models/dashboard_config.json index 9ab5b19..39314d7 100644 --- a/models/dashboard_config.json +++ b/models/dashboard_config.json @@ -3,7 +3,9 @@ { "name": "dashboard_config", "title": "仪表板配置", - "primary": "id", + "primary": [ + "id" + ], "catelog": "entity" } ], diff --git a/models/report_template.json b/models/report_template.json index 615ea78..6a93466 100644 --- a/models/report_template.json +++ b/models/report_template.json @@ -3,7 +3,9 @@ { "name": "report_template", "title": "报表模板", - "primary": "id", + "primary": [ + "id" + ], "catelog": "entity" } ], diff --git a/models/user_dashboard.json b/models/user_dashboard.json index e6c4b34..d41ea5b 100644 --- a/models/user_dashboard.json +++ b/models/user_dashboard.json @@ -3,7 +3,9 @@ { "name": "user_dashboard", "title": "用户仪表板", - "primary": "id", + "primary": [ + "id" + ], "catelog": "entity" } ],