Skip to content

Commit

Permalink
feat(users): add email_verified column
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienZ committed Sep 15, 2024
1 parent 709660d commit 7a489f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/runtime/database/lib/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export const getUsersTableSchema = (tableNames: tableNames) => sqliteTable(table
id: text("id").primaryKey().notNull(),
password: text("password"),
email: text("email").notNull().unique(),
email_verified: integer("email_verified", { mode: "boolean" }).default(false),
...datesColumns,
});

Expand Down

0 comments on commit 7a489f9

Please sign in to comment.