feat: add application queue priority routing
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE "SmsApplication" ADD COLUMN "queuePriority" TEXT NOT NULL DEFAULT 'normal';
|
||||
ALTER TABLE "SmsMessageRecord" ADD COLUMN "queuePriority" TEXT NOT NULL DEFAULT 'normal';
|
||||
@@ -339,6 +339,7 @@ model SmsApplication {
|
||||
secretHash String
|
||||
dailyLimit Int?
|
||||
customerUnitPrice Int @default(0)
|
||||
queuePriority String @default("normal")
|
||||
maxPhonesPerTask Int @default(1000000)
|
||||
templateMismatchMode String @default("reject")
|
||||
status String @default("active")
|
||||
@@ -852,6 +853,7 @@ model SmsMessageRecord {
|
||||
billingUnits Int @default(1)
|
||||
unitPrice Int @default(0)
|
||||
amountCents Int @default(0)
|
||||
queuePriority String @default("normal")
|
||||
channelId String?
|
||||
submitId String?
|
||||
gatewayMessageId String?
|
||||
|
||||
Reference in New Issue
Block a user