summaryrefslogtreecommitdiff
path: root/packages/db/src/schema.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/db/src/schema.ts')
-rw-r--r--packages/db/src/schema.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/db/src/schema.ts b/packages/db/src/schema.ts
index 12fc7689..c4af608d 100644
--- a/packages/db/src/schema.ts
+++ b/packages/db/src/schema.ts
@@ -5,7 +5,7 @@ export const users = pgTable("users", {
name: text("name").notNull(),
email: text("email").notNull().unique(),
emailVerified: boolean("email_verified")
- .$defaultFn(() => false)
+ .default(false)
.notNull(),
image: text("image"),
createdAt: timestamp("created_at")