feat(c5): svc_org photo_tier + agency 机构配置字段
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
9fea4efe0f
commit
11955c4f55
7
prisma/migrations/20261015020000_c5_config/migration.sql
Normal file
7
prisma/migrations/20261015020000_c5_config/migration.sql
Normal file
@ -0,0 +1,7 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE `ltc_agency` ADD COLUMN `docking_tier` VARCHAR(10) NOT NULL DEFAULT 'B',
|
||||
ADD COLUMN `new_national_notify` BOOLEAN NOT NULL DEFAULT true,
|
||||
ADD COLUMN `qc_threshold` INTEGER NOT NULL DEFAULT 24;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE `svc_org` ADD COLUMN `photo_tier` VARCHAR(10) NOT NULL DEFAULT 'free';
|
||||
@ -318,6 +318,9 @@ model Agency {
|
||||
createdBy String? @map("created_by") @db.VarChar(36)
|
||||
updatedAt DateTime @updatedAt @map("updated_at")
|
||||
deletedAt DateTime? @map("deleted_at")
|
||||
qcThreshold Int @default(24) @map("qc_threshold")
|
||||
dockingTier String @default("B") @map("docking_tier") @db.VarChar(10)
|
||||
newNationalNotify Boolean @default(true) @map("new_national_notify")
|
||||
|
||||
@@map("ltc_agency")
|
||||
}
|
||||
@ -407,6 +410,7 @@ model SvcOrg {
|
||||
price String? @map("price") @db.VarChar(50)
|
||||
priceEffective DateTime? @map("price_effective")
|
||||
isNewNational Boolean @default(false) @map("is_new_national")
|
||||
photoTier String @default("free") @map("photo_tier") @db.VarChar(10)
|
||||
createdAt DateTime @default(now()) @map("created_at")
|
||||
createdBy String? @map("created_by") @db.VarChar(36)
|
||||
updatedAt DateTime @updatedAt @map("updated_at")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user