-- DropForeignKey
ALTER TABLE "Account" DROP CONSTRAINT "Account_subscriptionId_fkey";

-- AlterTable
ALTER TABLE "Account" ALTER COLUMN "subscriptionId" DROP NOT NULL;

-- AddForeignKey
ALTER TABLE "Account" ADD CONSTRAINT "Account_subscriptionId_fkey" FOREIGN KEY ("subscriptionId") REFERENCES "Plan"("id") ON DELETE SET NULL ON UPDATE CASCADE;
