Closed koenedaele closed 1 year ago
Do we already have live data that needs to be corrected via alembic migration or is it only the migrate_sqlalchemy_providers script that needs an update ?
This script hasn't run on production data yet, since Atramhasis 2.0.0 hasn't been released yet. So, only the script needs to be updated.
After migrating providers from code to the DB, ids have changed. Where the URL for heritage types used to be http://localhost:6543/conceptschemes/HERITAGETYPE, it is now http://localhost:6543/conceptschemes/6.
Looking at the DB I see the following:
So, the provider now has a numeric id (6), but in the JSON the old textual ID is still present. Yet, it's no longer used when generating the URL's, thus breaking them.