deckhearth/migrations
Randall Stillwell ec9bb2b93e feat(catalog): unified multi-game bulk sync + schema map update
Ship Pokemon and Lorcana bulk import libs/scripts, unified weekly cron
sync across MTG/Pokemon/Lorcana with per-game error isolation and
catalog_sync_log telemetry. Admin UI adds Unified/Incremental/Bulk MTG modes.

- Rename reconcile migrations to 1781442330* timestamps so they apply
  after bulk-data migrations without node-pg-migrate ordering conflicts
- Add Lorcana set-code normalization + orphan cleanup migrations
- Drop stricter user_cards_user_card_unique (keep 3-column foil unique)
- Update docs/SCHEMA_MAP.md for tags, card_tags, catalog_sync_log, bulk columns

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-14 08:22:19 -05:00
..
1779853647564_initial-schema.js feat(infra): adopt node-pg-migrate + backfill initial schema migration (#32) 2026-05-26 23:01:58 -05:00
1779853647565_add-pg-trgm-card-name-index.js feat(scanner): AI Gateway vision + Layer-1 Tesseract/pg_trgm OCR (#38) 2026-05-27 12:59:59 -05:00
1779853647566_add-scan-tables.js ci: run migrations against Postgres service container in CI (#64) 2026-06-02 11:01:18 -05:00
1779908094455_add-user-cards-scan-image-url.js feat(scanner): persist scan captures to Blob (Brief 3) (#44) 2026-05-27 13:57:26 -05:00
1780378340194_system-collection-description.js ci: run migrations against Postgres service container in CI (#64) 2026-06-02 11:01:18 -05:00
1781440700404_add-scryfall-bulk-columns.js feat(catalog): Scryfall bulk data import + Tagger community tags 2026-06-14 07:51:39 -05:00
1781440721350_add-tagger-tables.js feat(catalog): Scryfall bulk data import + Tagger community tags 2026-06-14 07:51:39 -05:00
1781442175729_normalize-lorcana-set-codes.js feat(catalog): unified multi-game bulk sync + schema map update 2026-06-14 08:22:19 -05:00
1781442329511_add-catalog-sync-log.js feat(catalog): unified multi-game bulk sync + schema map update 2026-06-14 08:22:19 -05:00
1781442330001_reconcile-cards-columns.js feat(catalog): unified multi-game bulk sync + schema map update 2026-06-14 08:22:19 -05:00
1781442330002_reconcile-collections-columns.js feat(catalog): unified multi-game bulk sync + schema map update 2026-06-14 08:22:19 -05:00
1781442330004_reconcile-favorites-system.js feat(catalog): unified multi-game bulk sync + schema map update 2026-06-14 08:22:19 -05:00
1781442330005_reconcile-user-profile.js feat(catalog): unified multi-game bulk sync + schema map update 2026-06-14 08:22:19 -05:00
1781442330006_reconcile-user-cards-unique.js feat(catalog): unified multi-game bulk sync + schema map update 2026-06-14 08:22:19 -05:00
1781442340000_cleanup-lorcana-orphans.js feat(catalog): unified multi-game bulk sync + schema map update 2026-06-14 08:22:19 -05:00