From ddc7b78895cd4453e33f30f7ce3d7bebe1125cf1 Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 11 May 2026 12:49:56 +0200 Subject: [PATCH] chore(documents): wire backfill script into deploy sequence Adds db:backfill:doc-folders npm script. Run after the 0051 migration applies. Idempotent; safe to re-run on interrupted deploys. Co-Authored-By: Claude Opus 4.7 (1M context) --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 7a708181..293c74a1 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "db:reset": "tsx scripts/db-reset.ts --confirm", "db:reseed:realistic": "pnpm db:reset && pnpm db:seed:realistic", "db:reseed:synthetic": "pnpm db:reset && pnpm db:seed:synthetic", + "db:backfill:doc-folders": "tsx scripts/backfill-document-folders.ts", "test:e2e": "playwright test", "test:e2e:smoke": "playwright test --project=smoke", "test:e2e:exhaustive": "playwright test --project=exhaustive",