🚸 (whatsapp) Avoid multiple replies to be sent concurently
Closes #972, closes #1453
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "ChatSession" ADD COLUMN "isReplying" BOOLEAN;
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user