diff --git a/back/prisma/migrations/20230419061306_google_auth/migration.sql b/back/prisma/migrations/20230419061306_google_auth/migration.sql new file mode 100644 index 0000000..88eb841 --- /dev/null +++ b/back/prisma/migrations/20230419061306_google_auth/migration.sql @@ -0,0 +1,11 @@ +/* + 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; + +-- CreateIndex +CREATE UNIQUE INDEX "User_googleId_key" ON "User"("googleId");