Add Praefect command to show migration status

This adds the subcommand praefect sql-migrate-status to show whether a migration has been applied.

Example:

+----------------------------------------+--------------------------------------+
|               MIGRATION                |               APPLIED                |
+----------------------------------------+--------------------------------------+
| 20200109161404_hello_world             | 2020-02-26 16:00:32.486129 -0800 PST |
| 20200113151438_1_test_migration        | 2020-02-26 16:00:32.486871 -0800 PST |
| 20200224220728_job_queue               | 2020-03-25 16:27:21.384917 -0700 PDT |
| 20200324001604_add_sql_election_tables | no                                   |
+----------------------------------------+--------------------------------------+
Edited by GitLab Release Tools Bot

Merge request reports

Loading
Loading