feat(db): 🗃️ Remove duplicate fields in PublicTypebot
This commit is contained in:
@ -0,0 +1,10 @@
|
||||
-- DropIndex
|
||||
DROP INDEX "PublicTypebot_customDomain_key";
|
||||
|
||||
-- DropIndex
|
||||
DROP INDEX "PublicTypebot_publicId_key";
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "PublicTypebot" DROP COLUMN "customDomain",
|
||||
DROP COLUMN "name",
|
||||
DROP COLUMN "publicId";
|
@ -215,14 +215,11 @@ model PublicTypebot {
|
||||
updatedAt DateTime @default(now()) @updatedAt
|
||||
typebotId String @unique
|
||||
typebot Typebot @relation(fields: [typebotId], references: [id], onDelete: Cascade)
|
||||
name String
|
||||
blocks Json[]
|
||||
variables Json[]
|
||||
edges Json[]
|
||||
theme Json
|
||||
settings Json
|
||||
publicId String? @unique
|
||||
customDomain String? @unique
|
||||
}
|
||||
|
||||
model Result {
|
||||
|
Reference in New Issue
Block a user