perf(*): 创作工作台 - 优化首页按需加载与画布交互并修复历史迁移冲突

This commit is contained in:
ddCat committed 2026-09-05 13:24:10 +08:00
1 parent 165b4443ab
commit 58f01d1eb6
107 files changed
+3025 -1089

No files matched your search

@@ -12,7 +12,7 @@ type IDSequence struct {
type LogicalModel struct {
ID string `json:"id" gorm:"primaryKey;size:36"`
Code string `json:"code" gorm:"size:80;uniqueIndex"`
Code string `json:"code" gorm:"size:80;uniqueIndex:idx_logical_models_code,where:archived_at IS NULL"`
Name string `json:"name" gorm:"size:120"`
Icon string `json:"icon" gorm:"size:80"`
Description string `json:"description" gorm:"size:500"`