feat: 让模板声明驱动安装并保存快照
This commit is contained in:
1 parent
a3434ce2b9
commit
388032000a
6 files changed
+65
-18
No files matched your search
@@ -90,6 +90,7 @@ model BrandTemplateInstallation {
|
||||
brand BrandProfile @relation(fields: [brandId], references: [id], onDelete: Cascade)
|
||||
templateKey String
|
||||
templateVersion String @default("1.0.0")
|
||||
configSnapshot Json
|
||||
installedAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
@@unique([brandId, templateKey])
|
||||
|
||||
Reference in new issue
Block a user