How to check if there are pending migrations when using SQLAlchemy/Alembic?
<p>We're using SQLAlchemy and Alembic (along with Flask-SQLAlchemy and Flask-Migrate). How to check if there are pending migrations?</p>

<p>I tried to check both Alembic's and Flask-Migrate's documentation but failed to find the answer.</p>