imsweb / django-saml-sp

A Django application for running one or more SAML service providers (SP)
BSD 3-Clause "New" or "Revised" License
15 stars 10 forks source link

JSONField cannot be used with unique=True in MySQL #12

Closed etiennepouliot closed 2 years ago

etiennepouliot commented 2 years ago

2021-11-17T16:11:03.46-0500 [APP/TASK/migrate/0] ERR django.db.utils.OperationalError: (3152, "JSON column 'url_params' cannot be used in key specification.")

see details : https://code.djangoproject.com/ticket/2495

dcwatson commented 2 years ago

0.5 will remove this constraint, leaving it up to the application. Seems like a reasonable ask, since those params are application-specific anyway.