/*
  Warnings:

  - Added the required column `imprint` to the `tonic_campaign` table without a default value. This is not possible if the table is not empty.
  - Added the required column `target` to the `tonic_campaign` table without a default value. This is not possible if the table is not empty.
  - Added the required column `tonicCountryId` to the `tonic_campaign` table without a default value. This is not possible if the table is not empty.
  - Added the required column `tonicOfferId` to the `tonic_campaign` table without a default value. This is not possible if the table is not empty.
  - Added the required column `type` to the `tonic_campaign` table without a default value. This is not possible if the table is not empty.
  - Added the required column `url` to the `tonic_campaign` table without a default value. This is not possible if the table is not empty.

*/
-- AlterTable
ALTER TABLE "tonic_campaign" ADD COLUMN     "imprint" BOOLEAN NOT NULL,
ADD COLUMN     "target" TEXT NOT NULL,
ADD COLUMN     "tonicCountryId" INTEGER NOT NULL,
ADD COLUMN     "tonicOfferId" INTEGER NOT NULL,
ADD COLUMN     "type" TEXT NOT NULL,
ADD COLUMN     "url" TEXT NOT NULL;

-- AddForeignKey
ALTER TABLE "tonic_campaign" ADD CONSTRAINT "tonic_campaign_tonicOfferId_fkey" FOREIGN KEY ("tonicOfferId") REFERENCES "tonic_offer"("id") ON DELETE RESTRICT ON UPDATE CASCADE;

-- AddForeignKey
ALTER TABLE "tonic_campaign" ADD CONSTRAINT "tonic_campaign_tonicCountryId_fkey" FOREIGN KEY ("tonicCountryId") REFERENCES "tonic_country"("id") ON DELETE RESTRICT ON UPDATE CASCADE;
