feat(*): 生图与视频工作台 - 新增独立生成流程并整合平台配置
This commit is contained in:
1 parent
4c1d2b4012
commit
1f3f2c6020
69 files changed
+7108
-87
No files matched your search
@@ -39,6 +39,15 @@ func TestMigrateSchemaRecordsAndValidatesVersion(t *testing.T) {
|
||||
if !db.Migrator().HasTable(&model.UploadReservation{}) {
|
||||
t.Fatal("upload reservation migration missing")
|
||||
}
|
||||
if !db.Migrator().HasTable(&model.WorkbenchTool{}) || !db.Migrator().HasTable(&model.WorkbenchPreset{}) {
|
||||
t.Fatal("schema migration v54 did not create workbench tool and preset tables")
|
||||
}
|
||||
if !db.Migrator().HasIndex(&model.WorkbenchTool{}, "idx_workbench_tools_kind_enabled_sort") {
|
||||
t.Fatal("schema migration v54 did not create the workbench catalog index")
|
||||
}
|
||||
if !db.Migrator().HasIndex(&model.WorkbenchPreset{}, "idx_workbench_presets_tool_enabled_sort") {
|
||||
t.Fatal("schema migration v54 did not create the workbench preset index")
|
||||
}
|
||||
if !db.Migrator().HasIndex(&schemaMigration{}, "idx_schema_migrations_applied_at") {
|
||||
t.Fatal("schema migration v2 did not create the applied_at index")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user