/*
  Warnings:

  - The primary key for the `_AdscomDomainToAdscomPixel` table will be changed. If it partially fails, the table could be left without primary key constraint.
  - The primary key for the `_AssignedRequests` table will be changed. If it partially fails, the table could be left without primary key constraint.
  - The primary key for the `_KeywordToOffer` 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 `_AdscomDomainToAdscomPixel` will be added. If there are existing duplicate values, this will fail.
  - A unique constraint covering the columns `[A,B]` on the table `_AssignedRequests` will be added. If there are existing duplicate values, this will fail.
  - A unique constraint covering the columns `[A,B]` on the table `_KeywordToOffer` will be added. If there are existing duplicate values, this will fail.
  - Added the required column `intro` to the `adscom_rsoc_page` table without a default value. This is not possible if the table is not empty.

*/
-- AlterTable
ALTER TABLE "_AdscomDomainToAdscomPixel" DROP CONSTRAINT "_AdscomDomainToAdscomPixel_AB_pkey";

-- AlterTable
ALTER TABLE "_AssignedRequests" DROP CONSTRAINT "_AssignedRequests_AB_pkey";

-- AlterTable
ALTER TABLE "_KeywordToOffer" DROP CONSTRAINT "_KeywordToOffer_AB_pkey";

-- AlterTable
ALTER TABLE "adscom_rsoc_page" ADD COLUMN     "intro" TEXT NOT NULL;

-- CreateTable
CREATE TABLE "adscom_rsoc_page_content" (
    "id" SERIAL NOT NULL,
    "header" TEXT NOT NULL,
    "paragraph" TEXT NOT NULL,

    CONSTRAINT "adscom_rsoc_page_content_pkey" PRIMARY KEY ("id")
);

-- CreateIndex
CREATE UNIQUE INDEX "_AdscomDomainToAdscomPixel_AB_unique" ON "_AdscomDomainToAdscomPixel"("A", "B");

-- CreateIndex
CREATE UNIQUE INDEX "_AssignedRequests_AB_unique" ON "_AssignedRequests"("A", "B");

-- CreateIndex
CREATE UNIQUE INDEX "_KeywordToOffer_AB_unique" ON "_KeywordToOffer"("A", "B");
