debug license
This commit is contained in:
@@ -4,15 +4,16 @@ model Consumer {
|
||||
first_name String
|
||||
last_name String
|
||||
status ConsumerStatus @default(ACTIVE)
|
||||
license_id String?
|
||||
license_id String? @unique()
|
||||
|
||||
created_at DateTime @default(now()) @db.Timestamp(0)
|
||||
updated_at DateTime @updatedAt() @db.Timestamp(0)
|
||||
|
||||
license License? @relation(fields: [license_id], references: [id])
|
||||
accounts ConsumerAccount[]
|
||||
businessActivities BusinessActivity[]
|
||||
|
||||
license License?
|
||||
|
||||
@@map("consumers")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user