“Django Drop -Datenbank Postgres” Code-Antworten

Django Drop -Datenbank 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:)
bilalahmed_dev

Datenbank von Zero Django Postgres wieder aufbauen

sudo su postgres
psql
drop database your_database_name;
create database your_database_name with owner user_you_use_in_django;
\q
exit
Wrong Weasel

Ähnliche Antworten wie “Django Drop -Datenbank Postgres”

Fragen ähnlich wie “Django Drop -Datenbank Postgres”

Weitere verwandte Antworten zu “Django Drop -Datenbank Postgres” auf Python

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen