mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-04 15:07:13 +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
|
createdAt DateTime @default(now()) @db.Date
|
||||||
updatedAt DateTime @updatedAt @db.Date
|
updatedAt DateTime @updatedAt @db.Date
|
||||||
bill Bill? @relation(fields: [billId], references: [id], onDelete: Cascade)
|
bill Bill? @relation(fields: [billId], references: [id], onDelete: Cascade)
|
||||||
billId Int @unique
|
billId Int? @unique
|
||||||
calendarEventId String?
|
calendarEventId String?
|
||||||
city String
|
city String
|
||||||
destination String
|
destination String
|
||||||
|
|||||||
Reference in New Issue
Block a user