Update:PROFILE API's and create get users api's with pagination
This commit is contained in:
@@ -1,14 +1,19 @@
|
||||
enum ShopStatus {
|
||||
ACTIVE
|
||||
SUSPENDED
|
||||
DELETED
|
||||
INACTIVE
|
||||
}
|
||||
|
||||
model Profile {
|
||||
id String @id @default(uuid())
|
||||
accountId String @unique
|
||||
account Account @relation(fields: [accountId], references: [id], onDelete: Cascade)
|
||||
id String @id @default(uuid())
|
||||
accountId String @unique
|
||||
account Account @relation(fields: [accountId], references: [id], onDelete: Cascade)
|
||||
shopName String
|
||||
shopLogo String?
|
||||
contactNumber String?
|
||||
shopAddress String?
|
||||
shopMapLocation String?
|
||||
shopCategory String?
|
||||
|
||||
status ShopStatus @default(ACTIVE)
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user