2
0

feat(editor): Custom icon on typebot

This commit is contained in:
Baptiste Arnaud
2022-04-01 16:28:09 +02:00
parent 3585e63c48
commit 525887a32c
22 changed files with 2113 additions and 56 deletions

View File

@@ -14,7 +14,7 @@
"@prisma/client": "^3.10.0"
},
"scripts": {
"dx": "dotenv -e ../../apps/builder/.env.local prisma db push && yarn start:sutdio ",
"dx": "dotenv -e ../../apps/builder/.env.local prisma db push && yarn generate:schema && yarn start:sutdio ",
"build": "yarn generate:schema",
"start:sutdio": "dotenv -e ../../apps/builder/.env.local -v BROWSER=none prisma studio",
"generate:schema": "dotenv -e ../../apps/builder/.env.local prisma generate",

View File

@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Typebot" ADD COLUMN "icon" TEXT;

View File

@@ -114,6 +114,7 @@ model Typebot {
id String @id @default(cuid())
createdAt DateTime @default(now())
updatedAt DateTime @default(now()) @updatedAt
icon String?
name String
ownerId String
owner User @relation(fields: [ownerId], references: [id], onDelete: Cascade)