Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
@@ -88,14 +88,20 @@ model IdempotencyKey {
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
expiresAt DateTime?
|
||||
tenantId String?
|
||||
partitionKey String
|
||||
systemOwned Boolean @default(false)
|
||||
scope String
|
||||
key String
|
||||
requestHash String
|
||||
responseStatus Int
|
||||
responseBody Json?
|
||||
responseHeaders Json?
|
||||
tenant Tenant? @relation(fields: [tenantId], references: [id], onDelete: Cascade)
|
||||
|
||||
@@unique([scope, key], name: "idempotency_key_scope_key")
|
||||
@@unique([partitionKey, scope, key], name: "idempotency_key_partition_scope_key", map: "idempotency_key_partition_scope_key")
|
||||
@@index([tenantId, expiresAt], name: "idempotency_key_tenant_expires_at_idx")
|
||||
@@index([systemOwned, expiresAt], name: "idempotency_key_system_expires_at_idx")
|
||||
@@index([expiresAt], name: "idempotency_key_expires_at_idx")
|
||||
}
|
||||
|
||||
@@ -154,9 +160,9 @@ model Event {
|
||||
id String @id @default(cuid())
|
||||
createdAt DateTime @default(now())
|
||||
tenantId String?
|
||||
tenant Tenant? @relation(fields: [tenantId], references: [id])
|
||||
tenant Tenant? @relation(fields: [tenantId], references: [id], onDelete: SetNull)
|
||||
userId String?
|
||||
user User? @relation(fields: [userId], references: [id])
|
||||
user User? @relation(fields: [userId], references: [id], onDelete: SetNull)
|
||||
name String
|
||||
data String
|
||||
resource String?
|
||||
|
||||
Reference in new issue
Block a user