feat(db): IngestionRun.zipsBackfilled counter

Additive migration (applied on deploy via prisma migrate deploy). Counts
packages whose provenance was backfilled during an ingestion run.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-23 14:20:07 +02:00
co-authored by Claude Opus 4.8
parent 9a06130c5b
commit 4a7b9e2a09
2 changed files with 6 additions and 0 deletions
@@ -0,0 +1,5 @@
-- AlterTable: count of packages whose provenance was backfilled during a run
-- (opportunistic cross-channel provenance backfill). Additive, non-null with a
-- default of 0 — no data change for existing rows.
ALTER TABLE "ingestion_runs"
ADD COLUMN "zipsBackfilled" INTEGER NOT NULL DEFAULT 0;