PedroBern / django-graphql-auth

Django registration and authentication with GraphQL.
https://django-graphql-auth.readthedocs.io/en/latest/
MIT License
333 stars 105 forks source link

psycopg2.errors.UndefinedTable: relation "graphql_auth_userstatus" does not exist #160

Open Fujeng opened 1 year ago

Fujeng commented 1 year ago

Prerequisites

For more information, see the CONTRIBUTING guide.

Description

I followed the related procedures and installed Django-GraphQL-Auth from quickstart. After installing django-graphql-auth and running python manage.py migrate, I experienced this issue. Relation graphql_auth_userstatus does not exist.

Steps to Reproduce

If we need to reproduce and you don't provide steps for it, it will be closed. Alternatively, you can link a repo with the code to run your issue.

  1. [First Step] -- pip install django-graphql-auth
  2. [Second Step] -- adding graphql_auth to the Installed_apps of setting.py.
  3. [and so on...] -- python manage.py migrate

Expected behavior

What you expected to happen

Actual behavior

What actually happened

Requirements

Paste the packages you are using, you can get this information from executing pip freeze.

rahulkp220 commented 1 year ago

https://github.com/PedroBern/django-graphql-auth/pull/164 fixes this.