🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
Update timestamp fields in database schema to use string mode for better compatibility
Bill Yanga540e048a759
diff --git a/server/src/db/postgres/schema.ts b/server/src/db/postgres/schema.tsindex b3861d8d6..8aeae61be 100644--- a/server/src/db/postgres/schema.ts+++ b/server/src/db/postgres/schema.ts@@ -51,8 +51,8 @@ export const sites = pgTable(siteId: serial("site_id").primaryKey().notNull(),name: text("name").notNull(),domain: text("domain").notNull(),- createdAt: timestamp("created_at").defaultNow(),- updatedAt: timestamp("updated_at").defaultNow(),+ createdAt: timestamp("created_at", { mode: "string" }).defaultNow(),+ updatedAt: timestamp("updated_at", { mode: "string" }).defaultNow(),createdBy: text("created_by").notNull().references(() => user.id),