Skip to content

Fix empty line output when applying migrations

João Pereira requested to merge fix-migrate-output into master

When applying migrations (up or down), if there are no migrations to apply, the console output includes an empty line:

$ ./bin/registry database migrate up $PWD/config.yml

OK: applied 0 migrations

This MR fixes this so that the output is:

$ ./bin/registry database migrate up $PWD/config.yml
OK: applied 0 migrations

Merge request reports

Loading