🛂 (radar) Add isVerified field in workspace
This commit is contained in:
@@ -99,6 +99,7 @@ model Workspace {
|
||||
isQuarantined Boolean @default(false)
|
||||
isSuspended Boolean @default(false)
|
||||
isPastDue Boolean @default(false)
|
||||
isVerified Boolean?
|
||||
themeTemplates ThemeTemplate[]
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "Workspace" ADD COLUMN "isVerified" BOOLEAN;
|
||||
@@ -93,6 +93,7 @@ model Workspace {
|
||||
isQuarantined Boolean @default(false)
|
||||
isSuspended Boolean @default(false)
|
||||
isPastDue Boolean @default(false)
|
||||
isVerified Boolean?
|
||||
themeTemplates ThemeTemplate[]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user