-- AlterTable
ALTER TABLE "click" ADD COLUMN     "offerId" INTEGER,
ADD COLUMN     "userId" INTEGER;

-- AlterTable
ALTER TABLE "inuvo_click" ADD COLUMN     "fbc" TEXT;

-- AddForeignKey
ALTER TABLE "click" ADD CONSTRAINT "click_userId_fkey" FOREIGN KEY ("userId") REFERENCES "user"("id") ON DELETE SET NULL ON UPDATE CASCADE;

-- AddForeignKey
ALTER TABLE "click" ADD CONSTRAINT "click_offerId_fkey" FOREIGN KEY ("offerId") REFERENCES "offer"("id") ON DELETE SET NULL ON UPDATE CASCADE;
