allauth/account/migrations/0005_emailaddress_idx_upper_email.py
raw| 1 | # Generated by Django 4.2.4 on 2023-08-23 18:17 |
| 2 | |
| 3 | import django.db.models.functions.text |
| 4 | from django.db import migrations, models |
| 5 | |
| 6 | |
| 7 | class Migration(migrations.Migration): |
| 8 | dependencies = [ |
| 9 | ("account", "0004_alter_emailaddress_drop_unique_email"), |
| 10 | ] |
| 11 | |
| 12 | operations = [ |
| 13 | migrations.AddIndex( |
| 14 | model_name="emailaddress", |
| 15 | index=models.Index( |
| 16 | django.db.models.functions.text.Upper("email"), |
| 17 | name="account_emailaddress_upper", |
| 18 | ), |
| 19 | ), |
| 20 | ] |