I would be very nice if kong added a method to query if there are pending migrations.
something along the line of “kong migrations status”
that would return 0 if there are no migrations and 1 if there are (plus the migrations to be run)
This way someone could run kong migrations status before running a kong migrations up, and at least know what is about to happen before they run the migrations.
This is also very useful for automation tool like puppet to know if migrations need to be run.