-- DropForeignKey
ALTER TABLE "plenary_rgc_decisions" DROP CONSTRAINT "plenary_rgc_decisions_plenary_id_fkey";

-- AlterTable
ALTER TABLE "plenary_rgc_decisions" ALTER COLUMN "plenary_id" DROP NOT NULL;

-- AddForeignKey
ALTER TABLE "plenary_rgc_decisions" ADD CONSTRAINT "plenary_rgc_decisions_plenary_id_fkey" FOREIGN KEY ("plenary_id") REFERENCES "plenaries"("id") ON DELETE SET NULL ON UPDATE CASCADE;
