feat: add contact name field
This commit is contained in:
parent
6ad05b4292
commit
0c3084cdbf
3 changed files with 11 additions and 0 deletions
|
|
@ -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;
|
||||||
|
|
@ -463,6 +463,7 @@ model CustomerBranch {
|
||||||
subDistrictId String?
|
subDistrictId String?
|
||||||
|
|
||||||
email String
|
email String
|
||||||
|
contactName String
|
||||||
telephoneNo String
|
telephoneNo String
|
||||||
|
|
||||||
employmentOffice String
|
employmentOffice String
|
||||||
|
|
|
||||||
|
|
@ -66,6 +66,7 @@ export type CustomerBranchCreate = (
|
||||||
addressEN: string;
|
addressEN: string;
|
||||||
|
|
||||||
email: string;
|
email: string;
|
||||||
|
contactName: string;
|
||||||
telephoneNo: string;
|
telephoneNo: string;
|
||||||
|
|
||||||
employmentOffice: string;
|
employmentOffice: string;
|
||||||
|
|
@ -107,6 +108,7 @@ export type CustomerBranchUpdate = (
|
||||||
addressEN: string;
|
addressEN: string;
|
||||||
|
|
||||||
email?: string;
|
email?: string;
|
||||||
|
contactName?: string;
|
||||||
telephoneNo?: string;
|
telephoneNo?: string;
|
||||||
|
|
||||||
employmentOffice?: string;
|
employmentOffice?: string;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue