Re-instated ResetPasswordRequest, almost oops

pull/293/head
Alex van Andel 2021-06-30 02:01:29 +00:00
parent 90e4091b06
commit f7f5e2cc17
2 changed files with 7 additions and 9 deletions

View File

@ -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,

View File

@ -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
}