arocks / arocks/edge

Can't make migrations using Postgres

Open
#35 3 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
HTML
Stars
832
Forks
237
PR merge metrics
No merged PRs in 30d

Description

I noticed that if I changed the database to Postgres before doing the initial `migrate`, it would fail with the error

`django.db.utils.ProgrammingError: relation "auth_group" does not exist`

After a couple of hours I found the issue. So, I would like to suggest to add to the manual a Note that says that, if using Postgres, you need to run first:

`python manage.py migrate auth`

and then

`python manage.py migrate`

This will apply first the dependencies so that the general migration can work. If you don't run it like this, it just won't work.

Regards.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.