diff --git a/prisma/migrations/20210630014738_schedule_availability/migration.sql b/prisma/migrations/20210630014738_schedule_availability/migration.sql index a5099595e9..a89bf58cf9 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 1e8f8efb6e..ddaf7d8133 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 +}