Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 2 months 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 (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-17T10:31:47.000Z (over 1 year ago)
- Last Synced: 2024-11-07T03:07:08.869Z (about 2 months ago)
- Language: Python
- Size: 19.5 KB
- Stars: 23
- Watchers: 11
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# alembic-autogen-check
[![Latest version](https://badgen.net/pypi/v/alembic-autogen-check)](https://pypi.org/project/alembic-autogen-check/)
[![Travis-CI](https://badgen.net/travis/4Catalyzer/alembic-autogen-check/master)](https://travis-ci.org/4Catalyzer/alembic-autogen-check)Command to check that alembic migrations are in sync with SQLAlchemy models.
![screenshot](https://user-images.githubusercontent.com/2379650/57626497-02765680-7564-11e9-8854-fc3a469919af.png)
## 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
```