mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	[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.]
		
			
				
	
	
		
			25 lines
		
	
	
		
			629 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			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')]),
 | 
						|
        ),
 | 
						|
    ]
 |