metallkart-erp/scripts
louis eb8c951b42 feat(s53a-mig): data migration script for PR lifecycle refactor
4-step migration: backfill originalQuantity, link POLines to PRs via lotLines,
create retro PRs for orphan POLines, merge residual PRs.
Dry-run by default, --apply for real execution. Idempotent.

Local DB results: 54 PRs backfilled, 4 retro PRs created, 4 residuals merged.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-27 14:51:20 +03:00
..
dev-task.ps1 fix: remove duplicate СРОЧНО priority — keep only Срочный (session 34) 2026-04-08 15:48:24 +03:00
fix-pr-quantities.ts fix: analyzeImpact matches PR by description instead of sourceId — fixes P0 quantity corruption and P1 mass ПОМЕНЯТЬ tag (session 34) 2026-04-08 15:48:17 +03:00
fix-supplier-tags.sql fix: align supplier tags with all MaterialCategory values + add specific service tags 2026-04-08 15:48:23 +03:00
notify-telegram.ps1 fix: remove duplicate СРОЧНО priority — keep only Срочный (session 34) 2026-04-08 15:48:24 +03:00
orchestrator.ps1 fix: remove duplicate СРОЧНО priority — keep only Срочный (session 34) 2026-04-08 15:48:24 +03:00
s53a-mig.ts feat(s53a-mig): data migration script for PR lifecycle refactor 2026-04-27 14:51:20 +03:00
seed-extended.ts fix: remove duplicate СРОЧНО priority — keep only Срочный (session 34) 2026-04-08 15:48:24 +03:00
seed-steel-references.ts fix(steel-refs): deduplicate SteelReference, add @@unique, AI self-verification 2026-04-24 16:29:19 +03:00
send-task.ps1 fix: remove duplicate СРОЧНО priority — keep only Срочный (session 34) 2026-04-08 15:48:24 +03:00