标签: django django-migrations
我在Heroku应用上做了pg_dump。然后我在项目的本地分支上做了pg_restore,其中包括新模型和字段。然后,我运行了python manage.py makemigrations,我收到了消息no changes detected(很奇怪)。然后,当我运行python manage.py migrate时,我得到了典型的错误ProgrammingError relation does not exists。 ¿我能做些什么来解决这个问题?
pg_dump
pg_restore
python manage.py makemigrations
no changes detected
python manage.py migrate
ProgrammingError relation does not exists