Files
zulip/zerver/migrations/0123_userprofile_make_realm_email_pair_unique.py
Tim Abbott 586e18b237 auth: Allow accounts with the same email in different realms.
[Modified by greg to (1) keep `USERNAME_FIELD = 'email'`,
(2) silence the corresponding system check, and (3) ban
reusing a system bot's email address, just like we do in
realm creation.]
2017-11-28 16:23:10 -08:00

25 lines
629 B
Python

# -*- coding: utf-8 -*-
# Generated by Django 1.11.6 on 2017-11-22 20:45
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('zerver', '0122_rename_botuserstatedata_botstoragedata'),
]
operations = [
migrations.AlterField(
model_name='userprofile',
name='email',
field=models.EmailField(db_index=True, max_length=254),
),
migrations.AlterUniqueTogether(
name='userprofile',
unique_together=set([('realm', 'email')]),
),
]