/alembic-autogen-check

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

Primary LanguagePythonMIT LicenseMIT

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