Created
January 28, 2019 18:52
-
-
Save rchdlps/15b12de9f9e2104581cab7aa2a1ff86a to your computer and use it in GitHub Desktop.
Drop Table in Docker DB
This file contains 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
docker-compose -f local.yml run --rm django python manage.py dbshell | |
\l ver databases | |
\dt ver tabelas | |
DROP TABLE "nome_tabela"; | |
Pode ser necessario excluir as migrations |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment