-- DropForeignKey ALTER TABLE "Participant" DROP CONSTRAINT "Participant_eventId_fkey"; -- AddForeignKey ALTER TABLE "Participant" ADD CONSTRAINT "Participant_eventId_fkey" FOREIGN KEY ("eventId") REFERENCES "Event"("id") ON DELETE CASCADE ON UPDATE CASCADE;