Q:

django make migrations

$ python3 manage.py makemigrations
$ python3 manage.py migrate
6
//to create migration files
python manage.py makemigrations

//to migrate migration files
python manage.py migrate
2
$ python manage.py makemigrations && python manage.py migrate
$ git add --all
$ git commit -m "fixed migrate error"
$ git push heroku master
$ heroku run python manage.py makemigrations
$ heroku run python manage.py migrate
--- Done ___
0

New to Communities?

Join the community