Command to check that alembic migrations are in sync with SQLAlchemy models.
pip install alembic-autogen-check
PYTHONPATH=. alembic-autogen-check
This assumes that an alembic.ini
file exists in the current working
directory. You can explicitly pass a config file:
PYTHONPATH=. alembic-autogen-check --config path/to/alembic.ini