chore: update migration

This commit is contained in:
Methapon Metanipat 2024-09-17 10:45:21 +07:00
parent 638c278f20
commit b12babdc09
2 changed files with 41 additions and 2 deletions

View file

@ -558,10 +558,14 @@ model CustomerBranchCitizen {
districtId String?
subDistrict SubDistrict? @relation(fields: [subDistrictId], references: [id], onDelete: SetNull)
subDistrictId String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}
model CustomerBranchPoa {
id String @id @default(cuid())
id String @id @default(cuid())
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}
model CustomerBranchHouseRegis {
@ -610,6 +614,8 @@ model CustomerBranchHouseRegis {
fatherFullNameEN String?
fatherCitizenId String
fatherNationality String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}
enum CommercialType {
@ -627,10 +633,14 @@ model CustomerBranchCommercialRegis {
fullNameEN String
registrationDate String
romanLetter String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}
model CustomerBranchVatRegis {
id String @id @default(cuid())
id String @id @default(cuid())
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}
model Employee {