feat: add contact name field

This commit is contained in:
Methapon Metanipat 2024-08-21 16:52:59 +07:00
parent 6ad05b4292
commit 0c3084cdbf
3 changed files with 11 additions and 0 deletions

View file

@ -0,0 +1,8 @@
/*
Warnings:
- Added the required column `contactName` to the `CustomerBranch` table without a default value. This is not possible if the table is not empty.
*/
-- AlterTable
ALTER TABLE "CustomerBranch" ADD COLUMN "contactName" TEXT NOT NULL;

View file

@ -463,6 +463,7 @@ model CustomerBranch {
subDistrictId String?
email String
contactName String
telephoneNo String
employmentOffice String

View file

@ -66,6 +66,7 @@ export type CustomerBranchCreate = (
addressEN: string;
email: string;
contactName: string;
telephoneNo: string;
employmentOffice: string;
@ -107,6 +108,7 @@ export type CustomerBranchUpdate = (
addressEN: string;
email?: string;
contactName?: string;
telephoneNo?: string;
employmentOffice?: string;