perf: expand gateway capacity and prevent receipt replay
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
ALTER TABLE "SmsUplinkMessage" ADD COLUMN "eventId" TEXT;
|
||||
|
||||
CREATE UNIQUE INDEX "SmsUplinkMessage_eventId_key" ON "SmsUplinkMessage"("eventId");
|
||||
@@ -2117,6 +2117,7 @@ model SmsReceiptAnomaly {
|
||||
|
||||
model SmsUplinkMessage {
|
||||
id String @id @default(cuid())
|
||||
eventId String? @unique
|
||||
tenantId String?
|
||||
applicationId String?
|
||||
channelId String
|
||||
|
||||
Reference in New Issue
Block a user