refactor: customer create and update process

This commit is contained in:
Methapon Metanipat 2024-08-20 15:41:48 +07:00
parent b167a612b4
commit 5bb8da818c
6 changed files with 261 additions and 462 deletions

View file

@ -0,0 +1,13 @@
/*
Warnings:
- You are about to drop the column `code` on the `Customer` table. All the data in the column will be lost.
- You are about to drop the column `legalPersonName` on the `CustomerBranch` table. All the data in the column will be lost.
*/
-- AlterTable
ALTER TABLE "Customer" DROP COLUMN "code";
-- AlterTable
ALTER TABLE "CustomerBranch" DROP COLUMN "legalPersonName",
ADD COLUMN "registerNameEN" TEXT;