I did a pg_dump
on a Heroku app. Then I did a pg_restore
on a local branch of the project that includes new models and fields. Then, I ran python manage.py makemigrations
and I got the message no changes detected
(weird). Then, when I ran python manage.py migrate
I get the typical error ProgrammingError relation does not exists
. ¿What can I do to solve this?.
Asked
Active
Viewed 50 times
0

Alejandro Veintimilla
- 10,743
- 23
- 91
- 180
-
try `python manage.py makemigartions
` and then `python manage.py migrate – qasimalbaqali Dec 01 '15 at 20:06` -
@qasimalbaqali Thanks for the answer, already tried that. :/ – Alejandro Veintimilla Dec 01 '15 at 20:23
-
You can delete your database? To solve migrations problems, you can delete the migrations files in your apps and do again in fresh the makemigrations – Zartch Dec 01 '15 at 20:59