/*
  Warnings:

  - A unique constraint covering the columns `[subdomain,domainPrefix,domain]` on the table `Dealer` will be added. If there are existing duplicate values, this will fail.

*/
-- DropIndex
DROP INDEX "Dealer_subdomain_domain_idx";

-- DropIndex
DROP INDEX "Dealer_subdomain_domain_key";

-- DropIndex
DROP INDEX "Dealer_subdomain_key";

-- CreateIndex
CREATE INDEX "Dealer_subdomain_domainPrefix_domain_idx" ON "Dealer"("subdomain", "domainPrefix", "domain");

-- CreateIndex
CREATE UNIQUE INDEX "Dealer_subdomain_domainPrefix_domain_key" ON "Dealer"("subdomain", "domainPrefix", "domain");
