2
0

🚸 (whatsapp) Avoid multiple replies to be sent concurently

Closes #972, closes #1453
This commit is contained in:
Baptiste Arnaud
2024-04-18 09:38:22 +02:00
parent 94539e8ed3
commit 7bec58e745
12 changed files with 84 additions and 21 deletions

View File

@@ -349,10 +349,11 @@ model ClaimableCustomPlan {
}
model ChatSession {
id String @id @default(cuid())
createdAt DateTime @default(now())
updatedAt DateTime @default(now()) @updatedAt
state Json
id String @id @default(cuid())
createdAt DateTime @default(now())
updatedAt DateTime @default(now()) @updatedAt
state Json
isReplying Boolean?
}
model ThemeTemplate {

View File

@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "ChatSession" ADD COLUMN "isReplying" BOOLEAN;

View File

@@ -328,10 +328,11 @@ model ClaimableCustomPlan {
}
model ChatSession {
id String @id @default(cuid())
createdAt DateTime @default(now())
updatedAt DateTime @default(now()) @updatedAt
state Json
id String @id @default(cuid())
createdAt DateTime @default(now())
updatedAt DateTime @default(now()) @updatedAt
state Json
isReplying Boolean?
}
model ThemeTemplate {