feat: 为咨询表单增加提交语义
This commit is contained in:
1 parent
73e21e6b0d
commit
0381c0a902
4 files changed
+15
No files matched your search
@@ -0,0 +1,3 @@
|
||||
ALTER TABLE "InquiryForm" ADD COLUMN "purpose" TEXT NOT NULL DEFAULT 'inquiry';
|
||||
ALTER TABLE "InquiryForm" ADD COLUMN "targetType" TEXT NOT NULL DEFAULT 'brand';
|
||||
ALTER TABLE "InquiryForm" ADD COLUMN "submissionAction" TEXT NOT NULL DEFAULT 'create-inquiry';
|
||||
@@ -166,6 +166,9 @@ model InquiryForm {
|
||||
offeringId String?
|
||||
offering Offering? @relation(fields: [offeringId], references: [id], onDelete: SetNull)
|
||||
name String
|
||||
purpose String @default("inquiry")
|
||||
targetType String @default("brand")
|
||||
submissionAction String @default("create-inquiry")
|
||||
version Int @default(1)
|
||||
isEnabled Boolean @default(true)
|
||||
fieldsSnapshot Json
|
||||
|
||||
Reference in new issue
Block a user