Steps to Troubleshoot “django.db.utils.ProgrammingError: permission denied for relation django_migrations”

后端 未结 3 942
闹比i
闹比i 2020-12-08 04:15

What are some basic steps for troubleshooting and narrowing down the cause for the \"django.db.utils.ProgrammingError: permission denied for relation django_migrations\" err

3条回答
  •  抹茶落季
    2020-12-08 04:57

    If you receive this error and are using the Heroku hosting platform its quite possible that you are trying to write to a Hobby level database which has a limited number of rows.

    Heroku will allow you to pg:push the database even if you exceed the limits, but it will be read-only so any modifications to content won't be processed and will throw this error.

提交回复
热议问题