summaryrefslogtreecommitdiff
path: root/packages/db/src
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2025-07-25 15:34:53 +0200
committerMaze Winther <mazewinther@gmail.com>2025-07-25 15:34:53 +0200
commitd667c1095c58490bfdabbf50e044384e7fee943d (patch)
treed1ee64ed535843a83ff14211a92708dcbadf765e /packages/db/src
parent9a18a7a4e961375f80417d50a3c326c63e74dfe8 (diff)
parent65c3f9f7f78f787262a88c75b96a118ca5bee15c (diff)
downloadopencut-d667c1095c58490bfdabbf50e044384e7fee943d.tar.gz
Merge branch 'staging' of https://github.com/mazeincoding/AppCut into staging
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();