summaryrefslogtreecommitdiff
path: root/packages/db/src
diff options
context:
space:
mode:
authorKha Nguyen <hi@khanguyen.com>2025-07-24 16:50:14 -0500
committerKha Nguyen <hi@khanguyen.com>2025-07-24 16:50:14 -0500
commit262a7d53d63cc9997f730c7f64b7f8ec29723926 (patch)
tree894d6e3986b3ca339dc3ff7ec62fb31b3690be82 /packages/db/src
parent5a7745f806edf4a386b8cfd079861f96c3b92baf (diff)
parent5931ddb77aac23ffe1b82d9d7c03afde3e671109 (diff)
downloadopencut-262a7d53d63cc9997f730c7f64b7f8ec29723926.tar.gz
Merge branch 'main' into fix/improve-shortcuts
Diffstat (limited to 'packages/db/src')
-rw-r--r--packages/db/src/schema.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/db/src/schema.ts b/packages/db/src/schema.ts
index c4af608d..bb92a14e 100644
--- a/packages/db/src/schema.ts
+++ b/packages/db/src/schema.ts
@@ -4,9 +4,7 @@ export const users = pgTable("users", {
id: text("id").primaryKey(),
name: text("name").notNull(),
email: text("email").notNull().unique(),
- emailVerified: boolean("email_verified")
- .default(false)
- .notNull(),
+ emailVerified: boolean("email_verified").default(false).notNull(),
image: text("image"),
createdAt: timestamp("created_at")
.$defaultFn(() => /* @__PURE__ */ new Date())
@@ -66,4 +64,4 @@ export const waitlist = pgTable("waitlist", {
createdAt: timestamp("created_at")
.$defaultFn(() => /* @__PURE__ */ new Date())
.notNull(),
-}).enableRLS(); \ No newline at end of file
+}).enableRLS();