fleet/changes/issue-2463-fleetctl-debug-migrations
Lucas Manuel Rodriguez 0642bfdb1d
Add fleetctl debug migrations command to get missing migrations (#2967)
* Add fleetctl command to get missing migrations

* Fix copy paste and lint

* Detect migrations applied out of order

* Add extra bullet to changes

* Trigger creation of migration status tables

* Fix unit tests

* PR fixes

* PR comment fixes
2021-11-22 14:06:12 -03:00

3 lines
250 B
Plaintext

* New `fleetctl` command `debug migrations` to show missing migrations of a running fleet instance.
* `fleet serve` and `fleet prepare db` will fail if there are unknown migrations (possibly an old version of fleet running against a newer database).