-- CreateTable
CREATE TABLE "inuvo_keyword" (
    "id" SERIAL NOT NULL,
    "inuvoRefId" TEXT NOT NULL,
    "keywordId" INTEGER NOT NULL,

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

-- CreateIndex
CREATE UNIQUE INDEX "inuvo_keyword_keywordId_key" ON "inuvo_keyword"("keywordId");

-- AddForeignKey
ALTER TABLE "inuvo_keyword" ADD CONSTRAINT "inuvo_keyword_keywordId_fkey" FOREIGN KEY ("keywordId") REFERENCES "keyword"("id") ON DELETE CASCADE ON UPDATE CASCADE;
