tarantool / migrations

BSD 2-Clause "Simplified" License
21 stars 5 forks source link

API to get migration status of a cluster. #53

Open vrogach2020 opened 2 years ago

vrogach2020 commented 2 years ago

People sometimes forget to do migrations.up() after cluster upgrades. It would be nice to get a flag that all migrations are up to date and possibly display it as an issue in Cartridge UI ifl not all migrations are applied or MD5 of file differs from original. This will also require to compute hash (for example MD5) of each migration and store it when migration is applied successfully.

See for example https://docs.liquibase.com/commands/community/status-verbose.html