Update user hashpassword schema to not null

master
TZGyn 2 years ago
parent 35e2ab69d3
commit 23ffcebd2d
Signed by: TZGyn
GPG Key ID: 122EAF77AE81FD4A

@ -5,7 +5,7 @@ export const user = pgTable('users', {
id: serial('id').primaryKey(), id: serial('id').primaryKey(),
name: text('name'), name: text('name'),
email: text('email'), email: text('email'),
hashedPassword: text('password'), hashedPassword: text('password').notNull(),
createdAt: timestamp('created_at'), createdAt: timestamp('created_at'),
updatedAt: timestamp('updated_at'), updatedAt: timestamp('updated_at'),
}) })

Loading…
Cancel
Save