Track HiveGrid Cloud planning reference
This commit is contained in:
1 parent
b3d5ea6764
commit
e341c5938a
5784 files changed
+1104929
-3
No files matched your search
@@ -0,0 +1,55 @@
|
||||
model QueueFailedJob {
|
||||
id String @id @default(cuid())
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
queueName String
|
||||
jobName String
|
||||
jobId String?
|
||||
attemptsMade Int
|
||||
attemptsLimit Int?
|
||||
errorName String
|
||||
errorMessage String
|
||||
failedAt DateTime?
|
||||
|
||||
@@index([queueName, jobName, failedAt])
|
||||
@@index([jobId])
|
||||
@@index([failedAt])
|
||||
@@unique([queueName, jobName, jobId])
|
||||
}
|
||||
|
||||
enum ExportJobStatus {
|
||||
PENDING
|
||||
RUNNING
|
||||
COMPLETED
|
||||
FAILED
|
||||
}
|
||||
|
||||
model ExportJob {
|
||||
id String @id @default(cuid())
|
||||
tenantId String
|
||||
requestedByUserId String?
|
||||
exportType String
|
||||
format String
|
||||
status ExportJobStatus @default(PENDING)
|
||||
requestId String
|
||||
attemptsMade Int @default(0)
|
||||
artifactBucket String?
|
||||
artifactKey String?
|
||||
rowCount Int?
|
||||
errorName String?
|
||||
errorMessage String?
|
||||
retentionErrorMessage String?
|
||||
expiresAt DateTime?
|
||||
deletedAt DateTime?
|
||||
hardDeletedAt DateTime?
|
||||
startedAt DateTime?
|
||||
finishedAt DateTime?
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
|
||||
@@index([tenantId, status])
|
||||
@@index([tenantId, createdAt])
|
||||
@@index([requestId])
|
||||
@@index([expiresAt])
|
||||
@@index([status, updatedAt])
|
||||
}
|
||||
Reference in new issue
Block a user