refactor: customer create and update process
This commit is contained in:
parent
b167a612b4
commit
5bb8da818c
6 changed files with 261 additions and 462 deletions
13
prisma/migrations/20240820084114_update_field/migration.sql
Normal file
13
prisma/migrations/20240820084114_update_field/migration.sql
Normal 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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue