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';
|
||||||
@ -314,10 +314,13 @@ model Agency {
|
|||||||
contactPhone String @map("contact_phone") @db.VarChar(15)
|
contactPhone String @map("contact_phone") @db.VarChar(15)
|
||||||
bedCount Int? @map("bed_count")
|
bedCount Int? @map("bed_count")
|
||||||
signDate DateTime? @map("sign_date") @db.Date
|
signDate DateTime? @map("sign_date") @db.Date
|
||||||
createdAt DateTime @default(now()) @map("created_at")
|
createdAt DateTime @default(now()) @map("created_at")
|
||||||
createdBy String? @map("created_by") @db.VarChar(36)
|
createdBy String? @map("created_by") @db.VarChar(36)
|
||||||
updatedAt DateTime @updatedAt @map("updated_at")
|
updatedAt DateTime @updatedAt @map("updated_at")
|
||||||
deletedAt DateTime? @map("deleted_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")
|
@@map("ltc_agency")
|
||||||
}
|
}
|
||||||
@ -407,6 +410,7 @@ model SvcOrg {
|
|||||||
price String? @map("price") @db.VarChar(50)
|
price String? @map("price") @db.VarChar(50)
|
||||||
priceEffective DateTime? @map("price_effective")
|
priceEffective DateTime? @map("price_effective")
|
||||||
isNewNational Boolean @default(false) @map("is_new_national")
|
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")
|
createdAt DateTime @default(now()) @map("created_at")
|
||||||
createdBy String? @map("created_by") @db.VarChar(36)
|
createdBy String? @map("created_by") @db.VarChar(36)
|
||||||
updatedAt DateTime @updatedAt @map("updated_at")
|
updatedAt DateTime @updatedAt @map("updated_at")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user