schema: add sync error tracking columns to games table

This commit is contained in:
2026-04-29 10:33:53 +08:00
parent 133a4a9cc2
commit 861ac7dfdc
4 changed files with 1758 additions and 0 deletions
+3
View File
@@ -62,6 +62,9 @@ export const games = pgTable(
}>(),
lastSync: timestamp("last_sync"),
syncStatus: text("sync_status").default("pending"),
syncError: text("sync_error"),
syncRetryCount: integer("sync_retry_count").default(0),
syncNextRetry: timestamp("sync_next_retry"),
createdBy: text("created_by"),
createdAt: timestamp("created_at").defaultNow().notNull(),
updatedAt: timestamp("updated_at").defaultNow().notNull(),