mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
feat: add analytics env vars, DB schema columns, instance ID generation
This commit is contained in:
@@ -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", {
|
||||
|
||||
Reference in New Issue
Block a user