feat: add gender field to user profile and update related components

This commit is contained in:
ngthanhvu
2026-07-24 04:55:39 -04:00
parent 541cb66c33
commit 6ad96873a7
11 changed files with 693 additions and 30 deletions
+1
View File
@@ -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),