mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-05-19 07:42:43 +00:00
add hasOnboarding to db
This commit is contained in:
parent
bd32692819
commit
d40d67b4e0
2 changed files with 2 additions and 0 deletions
1
apps/web/migrations/0001_mighty_newton_destine.sql
Normal file
1
apps/web/migrations/0001_mighty_newton_destine.sql
Normal file
|
|
@ -0,0 +1 @@
|
|||
ALTER TABLE `user` ADD `hasOnboarded` integer DEFAULT false;
|
||||
|
|
@ -22,6 +22,7 @@ export const users = createTable(
|
|||
emailVerified: integer("emailVerified", { mode: "timestamp_ms" }),
|
||||
image: text("image"),
|
||||
telegramId: text("telegramId"),
|
||||
hasOnboarded: integer("hasOnboarded", { mode: "boolean" }).default(false),
|
||||
},
|
||||
(user) => ({
|
||||
emailIdx: index("users_email_idx").on(user.email),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue