sys-cache-sync-action.prisma 495 B

1234567891011121314151617
  1. model SysCacheSyncAction {
  2. id String @id @map("_id") @default(auto()) @db.ObjectId
  3. entityType String
  4. entityId BigInt? @db.Long
  5. operation String
  6. status String
  7. attempts Int @default(0) @db.Int
  8. nextAttemptAt BigInt? @db.Long
  9. lastError String?
  10. payload Json?
  11. createdAt BigInt @db.Long
  12. updatedAt BigInt @db.Long
  13. @@index([status, nextAttemptAt])
  14. @@index([entityType, entityId])
  15. @@map("sys_cacheSyncAction")
  16. }