-- DropForeignKey
ALTER TABLE "tonic_campaign" DROP CONSTRAINT "tonic_campaign_tonicHeadlineId_fkey";

-- AlterTable
ALTER TABLE "tonic_campaign" ALTER COLUMN "tonicHeadlineId" DROP NOT NULL;

-- AddForeignKey
ALTER TABLE "tonic_campaign" ADD CONSTRAINT "tonic_campaign_tonicHeadlineId_fkey" FOREIGN KEY ("tonicHeadlineId") REFERENCES "tonic_headline"("id") ON DELETE SET NULL ON UPDATE CASCADE;
