Last active
February 20, 2019 18:56
-
-
Save clodo/a46332e419a97bc4de8890b1a0d5c192 to your computer and use it in GitHub Desktop.
Chuleta
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BASH | |
# List used ports | |
$ sudo netstat -nplut | |
# Alembic | |
$ PYTHONPATH=.. alembic upgrade head | |
$ PYTHONPATH=.. alembic downgrade -1 | |
$ PYTHONPATH=.. alembic revision --autogenerate -m "Migration comment" | |
$ PYTHONPATH=.. alembic history |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment