Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save linuxkathirvel/b8688d202bb87ed40d0c03c36a203048 to your computer and use it in GitHub Desktop.
Save linuxkathirvel/b8688d202bb87ed40d0c03c36a203048 to your computer and use it in GitHub Desktop.
How to solve "django.db.utils.ProgrammingError: must be owner of relation table_name"

How to solve "django.db.utils.ProgrammingError: must be owner of relation table_name"?

\c database_name;
REASSIGN OWNED BY old_owner TO new_owner;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment