/*
  Warnings:

  - The primary key for the `_AccountToTechRequest` table will be changed. If it partially fails, the table could be left without primary key constraint.
  - The primary key for the `_BinomAffNetworkToBinomUser` table will be changed. If it partially fails, the table could be left without primary key constraint.
  - The primary key for the `_BinomDomainToUser` table will be changed. If it partially fails, the table could be left without primary key constraint.
  - The primary key for the `_TelegramBotToUser` table will be changed. If it partially fails, the table could be left without primary key constraint.
  - The primary key for the `_wrongDomains` table will be changed. If it partially fails, the table could be left without primary key constraint.
  - A unique constraint covering the columns `[A,B]` on the table `_AccountToTechRequest` will be added. If there are existing duplicate values, this will fail.
  - A unique constraint covering the columns `[A,B]` on the table `_BinomAffNetworkToBinomUser` will be added. If there are existing duplicate values, this will fail.
  - A unique constraint covering the columns `[A,B]` on the table `_BinomDomainToUser` will be added. If there are existing duplicate values, this will fail.
  - A unique constraint covering the columns `[A,B]` on the table `_TelegramBotToUser` will be added. If there are existing duplicate values, this will fail.
  - A unique constraint covering the columns `[A,B]` on the table `_wrongDomains` will be added. If there are existing duplicate values, this will fail.

*/
-- AlterTable
ALTER TABLE "_AccountToTechRequest" DROP CONSTRAINT "_AccountToTechRequest_AB_pkey";

-- AlterTable
ALTER TABLE "_BinomAffNetworkToBinomUser" DROP CONSTRAINT "_BinomAffNetworkToBinomUser_AB_pkey";

-- AlterTable
ALTER TABLE "_BinomDomainToUser" DROP CONSTRAINT "_BinomDomainToUser_AB_pkey";

-- AlterTable
ALTER TABLE "_TelegramBotToUser" DROP CONSTRAINT "_TelegramBotToUser_AB_pkey";

-- AlterTable
ALTER TABLE "_wrongDomains" DROP CONSTRAINT "_wrongDomains_AB_pkey";

-- AlterTable
ALTER TABLE "facebook_event" ADD COLUMN     "eventId" TEXT;

-- AlterTable
ALTER TABLE "tiktok_event" ADD COLUMN     "eventId" TEXT;

-- CreateIndex
CREATE UNIQUE INDEX "_AccountToTechRequest_AB_unique" ON "_AccountToTechRequest"("A", "B");

-- CreateIndex
CREATE UNIQUE INDEX "_BinomAffNetworkToBinomUser_AB_unique" ON "_BinomAffNetworkToBinomUser"("A", "B");

-- CreateIndex
CREATE UNIQUE INDEX "_BinomDomainToUser_AB_unique" ON "_BinomDomainToUser"("A", "B");

-- CreateIndex
CREATE UNIQUE INDEX "_TelegramBotToUser_AB_unique" ON "_TelegramBotToUser"("A", "B");

-- CreateIndex
CREATE UNIQUE INDEX "_wrongDomains_AB_unique" ON "_wrongDomains"("A", "B");
