refactor: update schema and migration

This commit is contained in:
Methapon2001 2024-04-04 15:27:57 +07:00
parent 86efb84cea
commit fff5558701
2 changed files with 7 additions and 7 deletions

View file

@ -141,7 +141,7 @@ CREATE TABLE "Customer" (
"id" TEXT NOT NULL,
"code" TEXT NOT NULL,
"customerType" TEXT NOT NULL,
"customerNameTH" TEXT NOT NULL,
"customerName" TEXT NOT NULL,
"customerNameEN" TEXT NOT NULL,
"imageUrl" TEXT,
"status" "Status" NOT NULL DEFAULT 'CREATED',
@ -186,7 +186,7 @@ CREATE TABLE "CustomerBranch" (
CREATE TABLE "Employee" (
"id" TEXT NOT NULL,
"code" TEXT NOT NULL,
"fullNameTH" TEXT NOT NULL,
"fullName" TEXT NOT NULL,
"fullNameEN" TEXT NOT NULL,
"dateOfBirth" TIMESTAMP(3) NOT NULL,
"gender" TEXT NOT NULL,