Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
feat(db): add pauseAnonViews preference and firstViewEmailSentAt column
Richie McIlroyff31881bb473
diff --git a/packages/database/schema.ts b/packages/database/schema.tsindex fbdc89dad..2b1f99303 100644--- a/packages/database/schema.ts+++ b/packages/database/schema.ts@@ -89,10 +89,8 @@ export const users = mysqlTable(pauseReplies: boolean;pauseViews: boolean;pauseReactions: boolean;+ pauseAnonViews?: boolean;};- // For analytics.- // Adding in preferences so we don't have to- // add a new column and can be dynamic going forward.trackedEvents?: {user_signed_up?: boolean;};@@ -339,6 +337,7 @@ export const videos = mysqlTable(password: encryptedTextNullable("password"),// LEGACYxStreamInfo: text("xStreamInfo"),+ firstViewEmailSentAt: timestamp("firstViewEmailSentAt"),isScreenshot: boolean("isScreenshot").notNull().default(false),// DEPRECATEDawsRegion: varchar("awsRegion", { length: 255 }),