# Technically, this could create a conflict, but it's
# exceedingly unlikely. If that happens, the sysadmin can
# manually rename the conflicts with the manage.py shell
# and then rerun the migration/upgrade.
e.name=e.name.lower()
e.save()
operations=[
migrations.RunPython(emoji_to_lowercase),
migrations.AlterField(
model_name='realmemoji',
name='name',
field=models.TextField(validators=[django.core.validators.MinLengthValidator(1),django.core.validators.RegexValidator(message='Invalid characters in emoji name',regex='^[0-9a-z.\\-_]+(?<![.\\-_])$')]),