Skip to content

Enrich schema with release dates, labels, and artist details#41

Merged
jakebromberg merged 2 commits intomainfrom
enrich-release-data
Mar 11, 2026
Merged

Enrich schema with release dates, labels, and artist details#41
jakebromberg merged 2 commits intomainfrom
enrich-release-data

Conversation

@jakebromberg
Copy link
Member

Summary

  • Add idempotent migration (02_enrich_data.sql) restoring released, artist_id, role columns and creating release_label + 5 artist detail tables
  • Update ETL pipeline to import released as raw text with post-import year extraction, catno for labels, role for artists, and new artist detail CSV import
  • Update dedup copy-swap to include new columns

Closes #40

Test plan

  • uv run pytest tests/unit/ -v passes
  • uv run pytest -m postgres passes against test DB with new schema
  • Run migration against fresh database and verify idempotency (run twice)
  • Run full ETL pipeline with sample CSV data and verify new columns populated

@jakebromberg jakebromberg merged commit 7ff2bf2 into main Mar 11, 2026
3 checks passed
@jakebromberg jakebromberg deleted the enrich-release-data branch March 11, 2026 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enrich schema with release dates, labels, and artist details

1 participant