Recent migration from the scrubber which did not comply full with the documentation [1] in
regards to migration started some work to fix it [1] It fixed the migration for the
scrubber but broke some other modules by mistake.
After further discussion with @douardda, we've come to a plan to properly fix everything.
- Keep the current core code [2]
- Fix swh.storage's datastore to add the attribute current_version
- Fix swh.indexer's storage datastore to add the attribute current version
- Drop [3] which is ok providing ^ and [4] which is totally irrelevant
[1] https://docs.softwareheritage.org/devel/swh-core/db.html#implementation-of-a-swh-core-db-datastore
[2] D7914
[3] D7943
[4] D7949