feat: add flag

This commit is contained in:
Methapon Metanipat 2024-09-03 16:54:52 +07:00
parent d970486348
commit 03707b7bd8
3 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Branch" ADD COLUMN "virtual" BOOLEAN;

View file

@ -218,6 +218,8 @@ model Branch {
headOffice Branch? @relation(name: "HeadOfficeRelation", fields: [headOfficeId], references: [id])
headOfficeId String?
virtual Boolean?
bank BranchBank[]
status Status @default(CREATED)