Resetdjango Postgresql Database? Flush Does Not Work
I have made changes to my model and tried to migrate the database using: python3 manage.py makemigrations python3 manage.py migrate I got the following output: vagrant@vagrant-ubu
Solution 1:
As the message says, please run python3 manage.py sqlflush
to see what SQL commands Django is trying to run.
Check that all tables used in the command exist in database.
Post a Comment for "Resetdjango Postgresql Database? Flush Does Not Work"