This commit is contained in:
@@ -33,6 +33,9 @@ model User {
|
||||
email String @unique
|
||||
passwordHash String @map("password_hash")
|
||||
name String?
|
||||
profileImageData Bytes? @map("profile_image_data")
|
||||
profileImageMime String? @map("profile_image_mime")
|
||||
profileImageUpdatedAt DateTime? @map("profile_image_updated_at") @db.Timestamptz(3)
|
||||
role UserRole @default(USER)
|
||||
isActive Boolean @default(true) @map("is_active")
|
||||
lastLoginAt DateTime? @map("last_login_at") @db.Timestamptz(3)
|
||||
|
||||
Reference in New Issue
Block a user