feat: enhance party user schema with address fields, update frontend form and API calls to use PartyUser naming convention

This commit is contained in:
louiscklaw
2025-06-17 19:59:09 +08:00
parent 834f9360ba
commit ae7f005236
5 changed files with 43 additions and 26 deletions

View File

@@ -1267,12 +1267,13 @@ model PartyUser {
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
//
name String?
username String? @unique
password String?
//
name String?
email String @unique
emailVerified DateTime?
password String?
image String?
avatarUrl String?
bucketImage String?
admin Boolean @default(false)
accounts Account[]
@@ -1283,4 +1284,10 @@ model PartyUser {
status String @default("pending")
role String @default("")
isVerified Boolean @default(false)
//
country String @default("")
state String @default("")
city String @default("")
address String @default("")
zipCode String @default("")
}