* fix: address mypy quibble * fix: use citext for Email.address * test: confirm adding case-varied email fails
28 lines
946 B
Python
28 lines
946 B
Python
# Generated by Django 2.2.28 on 2023-01-26 19:45
|
|
|
|
import django.contrib.postgres.fields.citext
|
|
from django.contrib.postgres.operations import CITextExtension
|
|
import django.core.validators
|
|
from django.db import migrations
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('person', '0029_use_timezone_now_for_person_models'),
|
|
]
|
|
|
|
operations = [
|
|
CITextExtension(),
|
|
migrations.AlterField(
|
|
model_name='email',
|
|
name='address',
|
|
field=django.contrib.postgres.fields.citext.CICharField(max_length=64, primary_key=True, serialize=False, validators=[django.core.validators.EmailValidator()]),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='historicalemail',
|
|
name='address',
|
|
field=django.contrib.postgres.fields.citext.CICharField(db_index=True, max_length=64, validators=[django.core.validators.EmailValidator()]),
|
|
),
|
|
]
|