Skip to content

Scheduling infrastructure for absolutely everyone.

Re-instated ResetPasswordRequest, almost oops

Alex van Andelf7f5e2cc179b
diff --git a/prisma/migrations/20210630014738_schedule_availability/migration.sql b/prisma/migrations/20210630014738_schedule_availability/migration.sql
index a5099595e9d..a89bf58cf91 100644
--- a/prisma/migrations/20210630014738_schedule_availability/migration.sql
+++ b/prisma/migrations/20210630014738_schedule_availability/migration.sql
@@ -1,15 +1,6 @@
-/*
- Warnings:
-
- - You are about to drop the `ResetPasswordRequest` table. If the table is not empty, all the data it contains will be lost.
-
-*/
-- AlterTable
ALTER TABLE "EventType" ADD COLUMN "timeZone" TEXT;
--- DropTable
-DROP TABLE "ResetPasswordRequest";
-
-- CreateTable
CREATE TABLE "Availability" (
"id" SERIAL NOT NULL,
diff --git a/prisma/schema.prisma b/prisma/schema.prisma
index 1e8f8efb6ed..ddaf7d81333 100644
--- a/prisma/schema.prisma
+++ b/prisma/schema.prisma
@@ -160,3 +160,10 @@ model EventTypeCustomInput {
required Boolean
}
+model ResetPasswordRequest {
+ id String @id @default(cuid())
+ createdAt DateTime @default(now())
+ updatedAt DateTime @updatedAt
+ email String
+ expires DateTime
+}