feat: add field

This commit is contained in:
Methapon Metanipat 2024-09-24 09:56:05 +07:00
parent 18963f666d
commit 8f60197082
3 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Branch" ADD COLUMN "remark" TEXT;

View file

@ -238,6 +238,8 @@ model Branch {
selectedImage String?
remark String?
bank BranchBank[]
status Status @default(CREATED)

View file

@ -65,6 +65,7 @@ type BranchCreate = {
latitude: string;
virtual?: boolean;
selectedImage?: string;
remark?: string;
bank?: {
bankName: string;
@ -107,6 +108,7 @@ type BranchUpdate = {
latitude?: string;
virtual?: boolean;
selectedImage?: string;
remark?: string;
subDistrictId?: string | null;
districtId?: string | null;