Answers for "drop django migrations table postgresql"

3

how to delete migrations in django

python3 manage.py rm -r name/migrations
Posted by: Guest on February-17-2021
1

django drop database postgres

find . -path "*/migrations/*.py" -not -name "__init__.py" -delete
find . -path "*/migrations/*.pyc"  -delete

# Check status of files >
python3 manage.py showmigrations

create news migrations 

Enjoy:)
Posted by: Guest on February-14-2021

Code answers related to "drop django migrations table postgresql"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language