/* Warnings: - A unique constraint covering the columns `[stripeId]` on the table `User` will be added. If there are existing duplicate values, this will fail. */ -- AlterEnum -- This migration adds more than one value to an enum. -- With PostgreSQL versions 11 and earlier, this is not possible -- in a single migration. This can be worked around by creating -- multiple migrations, each migration adding only one value to -- the enum. ALTER TYPE "Plan" ADD VALUE 'LIFETIME'; ALTER TYPE "Plan" ADD VALUE 'OFFERED'; -- AlterTable ALTER TABLE "User" ADD COLUMN "stripeId" TEXT; -- CreateIndex CREATE UNIQUE INDEX "User_stripeId_key" ON "User"("stripeId");