Add google signin/signup

This commit is contained in:
2023-06-21 19:10:18 +09:00
committed by GitBluub
parent 857158c6cf
commit 04d288b844
11 changed files with 229 additions and 5 deletions
@@ -0,0 +1,12 @@
/*
Warnings:
- A unique constraint covering the columns `[googleID]` on the table `User` will be added. If there are existing duplicate values, this will fail.
*/
-- AlterTable
ALTER TABLE "User" ADD COLUMN "googleID" TEXT,
ALTER COLUMN "password" DROP NOT NULL;
-- CreateIndex
CREATE UNIQUE INDEX "User_googleID_key" ON "User"("googleID");