Skip to content

Adapt importer to the latest schema/ORM changes #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 10, 2025

Conversation

kellnerd
Copy link
Contributor

@kellnerd kellnerd commented Nov 4, 2024

Following the schema change (metabrainz/bookbrainz-site#1136) and the ORM change (metabrainz/bookbrainz-data-js#323), the importer tools and the test data also have to be adapted (mostly because of improved terminology to be honest).

Additionally I realized that it is possible to create edition imports which are not linked to an edition group, so it makes a lot of sense to remove the unstable EG BBID from the test data.
The whole thing is possible because there are still editions without edition group from an older schema in the DB, so the column is still nullable.

Copy link
Member

@MonkeyDo MonkeyDo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect!

@MonkeyDo MonkeyDo merged commit bd4907e into metabrainz:master Mar 10, 2025
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.

2 participants