yshalabi / alembic-autogen-check

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:Python 94.5%Language:Mako 5.5%