Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] multiple primary keys for table "django_rest_passwordreset_resetpasswordtoken" are not allowed #176

Open
nuvme-devops opened this issue May 13, 2023 · 0 comments

Comments

@nuvme-devops
Copy link

Hello, I'm trying to apply my migrations to start my API database. But I'm getting the error multiple primary keys for table "django_rest_passwordreset_resetpasswordtoken" are not allowed, this proceeds to lock the database. I really don't know how to proceed, there is already a similar issue #8 , but this one is related to Django v2 and django-rest-passwordreset v0.9.

This is my requirements file:

Django==4.2 djangorestframework~=3.14.0 mysqlclient==2.1.1 django-cors-headers==3.14.0 djangorestframework-simplejwt==5.2.2 drf-spectacular==0.26.2 django_rest_passwordreset==1.3.0 dominate==2.7.0 psycopg2-binary==2.9.6 django-environ==0.1.0 gunicorn==20.1.0 pandas==2.0.1 holidays==0.23 pillow==9.5.0 django-storages==1.13.2 boto3==1.26.121

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant