Add client bonus access flag
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "User" ADD COLUMN "bonusProgramEnabled" BOOLEAN NOT NULL DEFAULT false;
|
||||
|
||||
@@ -60,6 +60,7 @@ model User {
|
||||
email String @unique
|
||||
fullName String
|
||||
role UserRole
|
||||
bonusProgramEnabled Boolean @default(false)
|
||||
companyId String?
|
||||
company Company? @relation(fields: [companyId], references: [id])
|
||||
counterpartyProfile CounterpartyProfile?
|
||||
|
||||
Reference in New Issue
Block a user