2
0

🛂 (radar) Add isVerified field in workspace

This commit is contained in:
Baptiste Arnaud
2023-12-19 14:14:47 +01:00
parent deab1a12e9
commit 655b32ef75
7 changed files with 32 additions and 8 deletions

View File

@@ -99,6 +99,7 @@ model Workspace {
isQuarantined Boolean @default(false)
isSuspended Boolean @default(false)
isPastDue Boolean @default(false)
isVerified Boolean?
themeTemplates ThemeTemplate[]
}

View File

@@ -12,9 +12,6 @@ CREATE TABLE "BannedIp" (
-- CreateIndex
CREATE UNIQUE INDEX "BannedIp_ip_key" ON "BannedIp"("ip");
-- CreateIndex
CREATE INDEX "Answer_storageUsed_idx" ON "Answer"("storageUsed");
-- AddForeignKey
ALTER TABLE "BannedIp" ADD CONSTRAINT "BannedIp_responsibleTypebotId_fkey" FOREIGN KEY ("responsibleTypebotId") REFERENCES "Typebot"("id") ON DELETE RESTRICT ON UPDATE CASCADE;

View File

@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Workspace" ADD COLUMN "isVerified" BOOLEAN;

View File

@@ -93,6 +93,7 @@ model Workspace {
isQuarantined Boolean @default(false)
isSuspended Boolean @default(false)
isPastDue Boolean @default(false)
isVerified Boolean?
themeTemplates ThemeTemplate[]
}