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

@ -76,7 +76,7 @@ model Branch {
taxNo String
name String
nameEN String
address String
address String
addressEN String
province Province? @relation(fields: [provinceId], references: [id], onDelete: SetNull)
@ -153,7 +153,7 @@ model User {
lastName String
lastNameEN String
address String
address String
addressEN String
province Province? @relation(fields: [provinceId], references: [id], onDelete: SetNull)
@ -203,7 +203,7 @@ model Customer {
id String @id @default(uuid())
code String
customerType String
customerNameTH String
customerName String
customerNameEN String
imageUrl String?
@ -264,13 +264,13 @@ model Employee {
id String @id @default(uuid())
code String
fullNameTH String
fullName String
fullNameEN String
dateOfBirth DateTime
gender String
nationality String
address String
address String
addressEN String
province Province? @relation(fields: [provinceId], references: [id], onDelete: SetNull)