0011_alter_user_email.py 847 B

12345678910111213141516171819202122232425262728293031
  1. # Generated by Django 5.0.6 on 2024-05-31 17:11
  2. from django.contrib.postgres.operations import CreateCollation
  3. from django.db import migrations, models
  4. class Migration(migrations.Migration):
  5. dependencies = [
  6. ("users", "0010_allauth_oidc_from_env_var"),
  7. ]
  8. operations = [
  9. migrations.AlterField(
  10. model_name="user",
  11. name="email",
  12. field=models.EmailField(max_length=254),
  13. ),
  14. CreateCollation(
  15. "case_insensitive",
  16. provider="icu",
  17. locale="und-u-ks-level2",
  18. deterministic=False,
  19. ),
  20. migrations.AlterField(
  21. model_name="user",
  22. name="email",
  23. field=models.EmailField(
  24. db_collation="case_insensitive", max_length=254, unique=True
  25. ),
  26. ),
  27. ]