It'd be pretty good to implement this so that an API server can include the migration library and bail out if the migrations aren't up to date.
In our case we have:
- An API container
- A migration contianer/binary that runs migrations
This functionality would be good :)