2
0

Introducing Radar, fraud detection

This commit is contained in:
Baptiste Arnaud
2023-12-08 18:16:07 +00:00
parent 0b93c2b239
commit 4fdc1bfe5c
18 changed files with 221 additions and 7 deletions

View File

@ -201,6 +201,7 @@ model Typebot {
isArchived Boolean @default(false)
isClosed Boolean @default(false)
whatsAppCredentialsId String?
riskLevel Int?
@@index([workspaceId])
@@index([folderId])

View File

@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Typebot" ADD COLUMN "riskLevel" INTEGER;

View File

@ -185,6 +185,7 @@ model Typebot {
isArchived Boolean @default(false)
isClosed Boolean @default(false)
whatsAppCredentialsId String?
riskLevel Int?
@@index([workspaceId])
@@index([isArchived, createdAt(sort: Desc)])