Add a 'swh db upgrade' cli
This wil need to move migration scripts to swh/<mod>/sql/upgrades
and have a wrapper script in swh.core.db
that:
- check the current dbversion;
- check the latest dbversion;
- run the migrations in between
Migrated from T3894 (view on Phabricator)
Edited by Phabricator Migration user