refactor: make field optional
This commit is contained in:
parent
c7b5f91d31
commit
db53385557
2 changed files with 3 additions and 1 deletions
|
|
@ -0,0 +1,2 @@
|
|||
-- AlterTable
|
||||
ALTER TABLE "CustomerBranch" ALTER COLUMN "customerName" DROP NOT NULL;
|
||||
|
|
@ -444,7 +444,7 @@ model CustomerBranch {
|
|||
id String @id @default(cuid())
|
||||
customer Customer @relation(fields: [customerId], references: [id], onDelete: Cascade)
|
||||
customerId String
|
||||
customerName String
|
||||
customerName String?
|
||||
|
||||
code String
|
||||
codeCustomer String
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue