summaryrefslogtreecommitdiff
path: root/apps/web/src/lib/db/schema.ts
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2026-02-08 01:23:13 +0100
committerMaze Winther <mazewinther@gmail.com>2026-02-08 01:23:13 +0100
commit00cf7f6ab7b35616290cfeab06256a14f6d4beba (patch)
tree6a0010d77e6a6ca96f3799010e26673ed074f91e /apps/web/src/lib/db/schema.ts
parenta82817a7034d8cd94d50b2a10b1b7f9c0556de60 (diff)
downloadopencut-00cf7f6ab7b35616290cfeab06256a14f6d4beba.tar.gz
add todo
Diffstat (limited to 'apps/web/src/lib/db/schema.ts')
-rw-r--r--apps/web/src/lib/db/schema.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/web/src/lib/db/schema.ts b/apps/web/src/lib/db/schema.ts
index dcd7db67..88d71191 100644
--- a/apps/web/src/lib/db/schema.ts
+++ b/apps/web/src/lib/db/schema.ts
@@ -2,6 +2,9 @@ import { pgTable, text, timestamp, boolean } from "drizzle-orm/pg-core";
export const users = pgTable("users", {
id: text("id").primaryKey(),
+
+ // todo: implement fully anonymous sign-in for privacy
+ // we don't have any auth flows currently so this is fine for now
name: text("name").notNull(),
email: text("email").notNull().unique(),
emailVerified: boolean("email_verified").default(false).notNull(),