mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
make mill optional
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "Booking" ALTER COLUMN "billId" DROP NOT NULL;
|
||||
@@ -45,7 +45,7 @@ model Booking {
|
||||
createdAt DateTime @default(now()) @db.Date
|
||||
updatedAt DateTime @updatedAt @db.Date
|
||||
bill Bill? @relation(fields: [billId], references: [id], onDelete: Cascade)
|
||||
billId Int @unique
|
||||
billId Int? @unique
|
||||
calendarEventId String?
|
||||
city String
|
||||
destination String
|
||||
|
||||
Reference in New Issue
Block a user