Task #10925 (closed)
CLI: add a command performing a db upgrade
|Reported by:||sbesson||Owned by:|
|Keywords:||n.a.||Cc:||bpindelski, jamoore, mtbcarroll|
As suggested in https://github.com/openmicroscopy/ome-documentation/pull/366 and #10463, it would be nice to have a CLI command upgrading the db during a server upgrade process, e.g.
bin/omero db upgrade
In addition to simplifying the upgrade process, this would simplify the logic and the maintenance of the upgrade page in the OMERO sysadmin documentation.
Ideally this command would detect the current and target versions of the OMERO db and call the upgrade commands dealing with multiple upgrades if applicable.