juanifioren / django-oidc-provider

OpenID Connect and OAuth2 provider implementation for Djangonauts.
http://django-oidc-provider.readthedocs.org
MIT License
416 stars 239 forks source link

fix delete userinfo table migration #383

Closed bshysh closed 2 years ago

bshysh commented 3 years ago

The original migration does not work for cockroachdb and fails with django.db.utils.ProgrammingError: column "user_id" is referenced by the primary key After this change, it works well. Tested with postgresql and cockroachdb