chore: add migration

This commit is contained in:
Methapon2001 2024-04-24 10:01:24 +07:00
parent 7627b51a25
commit 1e8ef2114c
2 changed files with 12 additions and 0 deletions

View file

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

View file

@ -382,7 +382,9 @@ model CustomerBranch {
employmentOffice String
bussinessType String
bussinessTypeEN String
jobPosition String
jobPositionEN String
jobDescription String
saleEmployee String
payDate String