Skip to content

Commit c823f84

Browse files
committed
fix: status on send message
1 parent 0f7c243 commit c823f84

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

prisma/mysql-schema.prisma

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ model Message {
159159
MessageUpdate MessageUpdate[]
160160
Media Media?
161161
webhookUrl String? @db.VarChar(500)
162-
status Int? @db.Int
162+
status String? @db.VarChar(30)
163163
164164
sessionId String?
165165
session IntegrationSession? @relation(fields: [sessionId], references: [id])
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-- AlterTable
2+
ALTER TABLE "Message" ALTER COLUMN "status" SET DATA TYPE VARCHAR(30);

prisma/postgresql-schema.prisma

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ model Message {
158158
MessageUpdate MessageUpdate[]
159159
Media Media?
160160
webhookUrl String? @db.VarChar(500)
161-
status Int? @db.Integer
161+
status String? @db.VarChar(30)
162162
163163
sessionId String?
164164
session IntegrationSession? @relation(fields: [sessionId], references: [id])

0 commit comments

Comments
 (0)