refactor(db): added timezone check in so it comes over correct based on the backend timezone

This commit is contained in:
2026-06-01 16:05:36 -05:00
parent 45a0dee9ca
commit 2558b2e5bb
20 changed files with 55 additions and 37 deletions

View File

@@ -22,7 +22,7 @@ export const serverData = pgTable(
contactPhone: text("contact_phone"),
active: boolean("active").default(true),
serverLoc: text("server_loc"),
lastUpdated: timestamp("last_updated").defaultNow(),
lastUpdated: timestamp("last_updated", { withTimezone: true }).defaultNow(),
buildNumber: integer("build_number"),
isUpgrading: boolean("is_upgrading").default(false),
},