feat(editor): ✨ Custom icon on typebot
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "Typebot" ADD COLUMN "icon" TEXT;
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user