Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 778 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 778 Bytes

alembic-autogen-check

Latest version Travis-CI

Command to check that alembic migrations are in sync with SQLAlchemy models.

screenshot

Install

pip install alembic-autogen-check

Usage

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