refactor: 引入品牌行业模板配置

This commit is contained in:
que01 committed 2026-09-19 12:26:29 +08:00
1 parent 653fe596ac
commit 3c7ce2a8fa
10 files changed
+15 -8

No files matched your search

@@ -0,0 +1 @@
ALTER TABLE "BrandProfile" ADD COLUMN "templateKey" TEXT NOT NULL DEFAULT 'food';
+1
View File
@@ -34,6 +34,7 @@ enum FulfillmentType {
model BrandProfile {
id String @id @default(uuid())
name String
templateKey String @default("food")
tagline String?
description String?
avatarUrl String?
+1
View File
@@ -10,6 +10,7 @@ async function main(): Promise<void> {
create: {
id: "00000000-0000-0000-0000-000000000001",
name: "阿成家常菜",
templateKey: "food",
tagline: "现做家常套餐,也为小型聚餐定制一桌热饭菜",
description: "每天认真做好一顿家常饭。",
hours: "周一至周六 10:30-20:00",