feat: add analytics env vars, DB schema columns, instance ID generation

This commit is contained in:
ashim-hq
2026-04-22 19:00:15 +08:00
parent 03df555e10
commit 4904e8d140
5 changed files with 36 additions and 0 deletions
+3
View File
@@ -13,6 +13,9 @@ export const users = sqliteTable("users", {
updatedAt: integer("updated_at", { mode: "timestamp" })
.notNull()
.$defaultFn(() => new Date()),
analyticsEnabled: integer("analytics_enabled", { mode: "boolean" }),
analyticsConsentShownAt: integer("analytics_consent_shown_at", { mode: "timestamp" }),
analyticsConsentRemindAt: integer("analytics_consent_remind_at", { mode: "timestamp" }),
});
export const teams = sqliteTable("teams", {