Made UID unique, implemented cancel API, Prepared mail footer,
This commit is contained in:
1 parent
c29c0395ef
commit
d05ae49e8d
4 files changed
+58
-2
No files matched your search
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- A unique constraint covering the columns `[uid]` on the table `Booking` will be added. If there are existing duplicate values, this will fail.
|
||||
|
||||
*/
|
||||
-- CreateIndex
|
||||
CREATE UNIQUE INDEX "Booking.uid_unique" ON "Booking"("uid");
|
||||
@@ -69,7 +69,7 @@ model Attendee {
|
||||
|
||||
model Booking {
|
||||
id Int @default(autoincrement()) @id
|
||||
uid String
|
||||
uid String @unique
|
||||
user User? @relation(fields: [userId], references: [id])
|
||||
userId Int?
|
||||
references BookingReference[]
|
||||
|
||||
Reference in new issue
Block a user