TampereHacklab / mulysa

Mulysa member management for Hacklabs
GNU General Public License v3.0
6 stars 11 forks source link

account.EmailAddress: (models.W036) MariaDB does not support unique constraints with conditions. #468

Open olmari opened 7 months ago

olmari commented 7 months ago

I'm not sure when this became an thing, but there are some database related warnings that probably would be good to be taken care for:

mulysa@alfa:~/mulysa$ pipenv run python manage.py migrate
System check identified some issues:

WARNINGS:
account.EmailAddress: (models.W036) MariaDB does not support unique constraints with conditions.
    HINT: A constraint won't be created. Silence this warning if you don't care about it.
account.EmailAddress: (models.W043) MariaDB does not support indexes on expressions.
    HINT: An index won't be created. Silence this warning if you don't care about it.
Operations to perform:
  Apply all migrations: account, admin, api, auth, authtoken, constance, contenttypes, emails, mailer, nordigenautomation, oauth2_provider, rest_framework_tracking, sessions, sites, socialaccount, users
Running migrations:
  No migrations to apply.