fix:维度管理 设置唯一联合索引 租户-模版名称

This commit is contained in:
2026-03-31 16:53:11 +08:00
parent bef55800c2
commit a9916be066

View File

@@ -0,0 +1,3 @@
ALTER TABLE dimension_template DROP INDEX templateName ON dimension_template;
ALTER TABLE dimension_template ADD UNIQUE INDEX uk_tenantid_templatename (tenantId, templateName);