mirror of
https://github.com/ngthanhvu/kr-phim.git
synced 2026-08-10 16:47:46 +00:00
feat: add gender field to user profile and update related components
This commit is contained in:
@@ -7,6 +7,7 @@ export const users = mysqlTable('users', {
|
||||
password: varchar('password', { length: 255 }).notNull(),
|
||||
role: varchar('role', { length: 50 }).notNull().default('user'),
|
||||
avatar: text('avatar'),
|
||||
gender: varchar('gender', { length: 20 }),
|
||||
resetToken: varchar('reset_token', { length: 255 }),
|
||||
resetTokenExpires: timestamp('reset_token_expires'),
|
||||
active: boolean('active').notNull().default(true),
|
||||
|
||||
Reference in New Issue
Block a user