Mac OS X
- with homebrew
- with source code
brew tap wushaobo/tap && brew install alembic-checker
Usage: alembic-rev-graph [PATH/OF/ALEMBIC/VERSIONS/FOLDER]
The default path is $PWD
.
brew install graphviz
wget https://github.com/wushaobo/alembic-checker/blob/master/alembic-rev-graph && chmod +x ./alembic-rev-graph
/PATH/TO/alembic-rev-graph [PATH/OF/ALEMBIC/VERSIONS/FOLDER]
The default path is $PWD
.
Normally, a healthy list of alembic revisions is two synchronized single linked lists, by revision and file name.
If the graph shows something abnormal as the image below, you absolutely merged the revisions wrongly with other developers.