✨ Introduce bot v2 in builder (#328)
Also, the new engine is the default for updated typebots for viewer Closes #211
This commit is contained in:
@ -0,0 +1,11 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE
|
||||
"PublicTypebot"
|
||||
ADD
|
||||
COLUMN "version" TEXT;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE
|
||||
"Typebot"
|
||||
ADD
|
||||
COLUMN "version" TEXT;
|
@ -154,6 +154,7 @@ model DashboardFolder {
|
||||
|
||||
model Typebot {
|
||||
id String @id @default(cuid())
|
||||
version String?
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @default(now()) @updatedAt
|
||||
icon String?
|
||||
@ -207,6 +208,7 @@ model CollaboratorsOnTypebots {
|
||||
|
||||
model PublicTypebot {
|
||||
id String @id @default(cuid())
|
||||
version String?
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @default(now()) @updatedAt
|
||||
typebotId String @unique
|
||||
|
Reference in New Issue
Block a user