-- CreateTable
CREATE TABLE "actuate_script_tags" (
    "id" TEXT NOT NULL,
    "name" TEXT NOT NULL,
    "code" TEXT NOT NULL,
    "placement" TEXT NOT NULL,
    "scope" TEXT NOT NULL,
    "targetPaths" TEXT[],
    "priority" INTEGER NOT NULL DEFAULT 100,
    "enabled" BOOLEAN NOT NULL DEFAULT true,
    "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
    "updatedAt" TIMESTAMP(3) NOT NULL,

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

-- CreateIndex
CREATE INDEX "actuate_script_tags_enabled_idx" ON "actuate_script_tags"("enabled");

-- CreateIndex
CREATE INDEX "actuate_script_tags_placement_idx" ON "actuate_script_tags"("placement");
