-- CreateTable
CREATE TABLE "HomePageLocale" (
    "id" TEXT NOT NULL,
    "entityKey" TEXT NOT NULL,
    "locale" TEXT NOT NULL,
    "contentJson" JSONB NOT NULL,
    "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
    "updatedAt" TIMESTAMP(3) NOT NULL,

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

-- CreateIndex
CREATE UNIQUE INDEX "HomePageLocale_entityKey_locale_key" ON "HomePageLocale"("entityKey", "locale");

-- CreateIndex
CREATE INDEX "HomePageLocale_entityKey_idx" ON "HomePageLocale"("entityKey");
