https://github.com/4catalyzer/alembic-autogen-check
Command to check that alembic migrations are in sync with SQLAlchemy models
https://github.com/4catalyzer/alembic-autogen-check
Last synced: about 1 month ago
JSON representation
Command to check that alembic migrations are in sync with SQLAlchemy models
- Host: GitHub
- URL: https://github.com/4catalyzer/alembic-autogen-check
- Owner: 4Catalyzer
- License: mit
- Created: 2019-05-10T19:48:02.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-17T10:31:47.000Z (about 2 years ago)
- Last Synced: 2025-04-18T13:38:15.701Z (about 1 month ago)
- Language: Python
- Size: 19.5 KB
- Stars: 24
- Watchers: 10
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# alembic-autogen-check
[](https://pypi.org/project/alembic-autogen-check/)
[](https://travis-ci.org/4Catalyzer/alembic-autogen-check)Command to check that alembic migrations are in sync with SQLAlchemy models.

## 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
```