/*
  Warnings:

  - A unique constraint covering the columns `[date,accountIdRef,adId]` on the table `ad_stat` will be added. If there are existing duplicate values, this will fail.

*/
-- DropIndex
DROP INDEX "ad_stat_date_accountId_key";

-- CreateIndex
CREATE UNIQUE INDEX "ad_stat_date_accountIdRef_adId_key" ON "ad_stat"("date", "accountIdRef", "adId");
