-- DropForeignKey
ALTER TABLE "FrameOption" DROP CONSTRAINT "FrameOption_optionId_fkey";

-- DropForeignKey
ALTER TABLE "Option" DROP CONSTRAINT "Option_sizeId_fkey";

-- AddForeignKey
ALTER TABLE "FrameOption" ADD CONSTRAINT "FrameOption_optionId_fkey" FOREIGN KEY ("optionId") REFERENCES "Option"("id") ON DELETE CASCADE ON UPDATE NO ACTION;

-- AddForeignKey
ALTER TABLE "Option" ADD CONSTRAINT "Option_sizeId_fkey" FOREIGN KEY ("sizeId") REFERENCES "Size"("id") ON DELETE CASCADE ON UPDATE NO ACTION;
