From 383ec64a7fde53f0564e13d48a1619129094c919 Mon Sep 17 00:00:00 2001 From: Alex van Andel Date: Sun, 27 Jun 2021 13:51:06 +0000 Subject: [PATCH 1/2] onChange callback got removed in eslint cleanups Triggered eslint:no-empty-function, this PR circumvents this by adding a comment as part of the function body. --- pages/[user]/book.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pages/[user]/book.tsx b/pages/[user]/book.tsx index ccf2844c..38ca732a 100644 --- a/pages/[user]/book.tsx +++ b/pages/[user]/book.tsx @@ -238,6 +238,9 @@ export default function Book(props: any): JSX.Element { id="phone" required className="shadow-sm focus:ring-blue-500 focus:border-blue-500 block w-full sm:text-sm border-gray-300 rounded-md" + onChange={() => { + /* DO NOT REMOVE: Callback required by PhoneInput, comment added to satisfy eslint:no-empty-function */ + }} /> From e6ce82867c1b26351661095e7e511727d31b1297 Mon Sep 17 00:00:00 2001 From: Alex van Andel Date: Mon, 28 Jun 2021 15:39:45 +0000 Subject: [PATCH 2/2] Added migration for ResetPasswordRequest --- .../migration.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 prisma/migrations/20210628153550_password_reset_request/migration.sql diff --git a/prisma/migrations/20210628153550_password_reset_request/migration.sql b/prisma/migrations/20210628153550_password_reset_request/migration.sql new file mode 100644 index 00000000..5f0aaef0 --- /dev/null +++ b/prisma/migrations/20210628153550_password_reset_request/migration.sql @@ -0,0 +1,10 @@ +-- CreateTable +CREATE TABLE "ResetPasswordRequest" ( + "id" TEXT NOT NULL, + "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, + "updatedAt" TIMESTAMP(3) NOT NULL, + "email" TEXT NOT NULL, + "expires" TIMESTAMP(3) NOT NULL, + + PRIMARY KEY ("id") +);