fix: missing field

This commit is contained in:
Methapon Metanipat 2024-09-16 13:31:47 +07:00
parent 86888ed512
commit 46c79d50ce
4 changed files with 15 additions and 3 deletions

View file

@ -441,9 +441,10 @@ model Customer {
}
model CustomerBranch {
id String @id @default(cuid())
customer Customer @relation(fields: [customerId], references: [id], onDelete: Cascade)
customerId String
id String @id @default(cuid())
customer Customer @relation(fields: [customerId], references: [id], onDelete: Cascade)
customerId String
customerName String
code String
codeCustomer String