-- CreateEnum
CREATE TYPE "SourceType" AS ENUM ('MANUAL', 'X_TWEET', 'YOUTUBE');

-- AlterEnum
ALTER TYPE "RenderStage" ADD VALUE 'AMBIENT_GENERATION';

-- AlterTable
ALTER TABLE "Project" ADD COLUMN     "referenceUrl" VARCHAR(500),
ADD COLUMN     "seoDescription" VARCHAR(500),
ADD COLUMN     "seoKeywords" TEXT[],
ADD COLUMN     "seoSchemaJson" JSONB,
ADD COLUMN     "seoTitle" VARCHAR(200),
ADD COLUMN     "socialContent" JSONB,
ADD COLUMN     "sourceTweetData" JSONB,
ADD COLUMN     "sourceType" "SourceType" NOT NULL DEFAULT 'MANUAL';

-- CreateIndex
CREATE INDEX "Project_sourceType_idx" ON "Project"("sourceType");
