This commit is contained in:
@@ -1511,6 +1511,36 @@ model ReportReceiptImport {
|
||||
task ChannelSignatureReportTask @relation(fields: [taskId], references: [id], onDelete: Cascade)
|
||||
}
|
||||
|
||||
model NightSendingWindow {
|
||||
id String @id
|
||||
tenantId String
|
||||
applicationId String
|
||||
windowStartedAt DateTime
|
||||
windowEndsAt DateTime
|
||||
count Int @default(0)
|
||||
baselineCount Int @default(0)
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
|
||||
@@unique([applicationId, windowStartedAt])
|
||||
@@index([applicationId, windowEndsAt])
|
||||
}
|
||||
|
||||
model NightSendingReservation {
|
||||
messageRecordId String @id
|
||||
tenantId String
|
||||
applicationId String
|
||||
windowId String
|
||||
sequence Int
|
||||
thresholdValue Int
|
||||
reviewTaskId String?
|
||||
continuedAt DateTime?
|
||||
createdAt DateTime @default(now())
|
||||
|
||||
@@index([applicationId, windowId])
|
||||
@@index([reviewTaskId])
|
||||
}
|
||||
|
||||
model RiskRule {
|
||||
id String @id @default(cuid())
|
||||
tenantId String?
|
||||
@@ -1563,6 +1593,8 @@ model SmsSendTask {
|
||||
createdById String?
|
||||
reviewedById String?
|
||||
reviewedAt DateTime?
|
||||
continuationLeaseOwner String?
|
||||
continuationLeaseExpiresAt DateTime?
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user