feat: 增加模板升级预览与显式升级
This commit is contained in:
1 parent
388032000a
commit
44b6f6db64
5 files changed
+114
No files matched your search
@@ -0,0 +1 @@
|
||||
ALTER TABLE "BrandTemplateInstallation" ADD COLUMN "previousSnapshots" JSONB NOT NULL DEFAULT '[]';
|
||||
@@ -91,6 +91,7 @@ model BrandTemplateInstallation {
|
||||
templateKey String
|
||||
templateVersion String @default("1.0.0")
|
||||
configSnapshot Json
|
||||
previousSnapshots Json @default("[]")
|
||||
installedAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
@@unique([brandId, templateKey])
|
||||
|
||||
Reference in new issue
Block a user