webadmin端增加版本号和部署功能
This commit is contained in:
@@ -263,6 +263,19 @@ enum BenefitLedgerType {
|
||||
|
||||
// ─── COMMON ───────────────────────────────────────────
|
||||
|
||||
model SystemVersion {
|
||||
id BigInt @id @default(autoincrement()) @db.UnsignedBigInt
|
||||
gitTag String? @map("git_tag") @db.VarChar(128)
|
||||
commitId String @map("commit_id") @db.VarChar(64)
|
||||
commitMessage String @map("commit_message") @db.VarChar(512)
|
||||
branch String? @db.VarChar(64)
|
||||
deployedBy String? @map("deployed_by") @db.VarChar(32)
|
||||
deployedAt DateTime @default(now()) @map("deployed_at") @db.DateTime(3)
|
||||
|
||||
@@index([deployedAt])
|
||||
@@map("system_version")
|
||||
}
|
||||
|
||||
model CommonWxAppConfig {
|
||||
id BigInt @id @default(autoincrement()) @db.UnsignedBigInt
|
||||
clientApp ClientApp @unique @map("client_app")
|
||||
|
||||
Reference in New Issue
Block a user