opt in booking
This commit is contained in:
1 parent
87d9c5e289
commit
a2bf242c9e
11 files changed
+705
-258
No files matched your search
@@ -0,0 +1,6 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "Booking" ADD COLUMN "confirmed" BOOLEAN NOT NULL DEFAULT true,
|
||||
ADD COLUMN "rejected" BOOLEAN NOT NULL DEFAULT false;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "EventType" ADD COLUMN "requiresConfirmation" BOOLEAN NOT NULL DEFAULT false;
|
||||
@@ -30,6 +30,7 @@ model EventType {
|
||||
periodEndDate DateTime?
|
||||
periodDays Int?
|
||||
periodCountCalendarDays Boolean?
|
||||
requiresConfirmation Boolean @default(false)
|
||||
}
|
||||
|
||||
model Credential {
|
||||
@@ -134,6 +135,8 @@ model Booking {
|
||||
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime?
|
||||
confirmed Boolean @default(true)
|
||||
rejected Boolean @default(false)
|
||||
}
|
||||
|
||||
model Availability {
|
||||
|
||||
Reference in new issue
Block a user