mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	This is in a separate commit to make deployment easier. It ensures that this is only marked non-null after the backfill migration (backfilling .uuid for all old UserProfiles) runs - which was added in the previous commit.
		
			
				
	
	
		
			21 lines
		
	
	
		
			427 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			427 B
		
	
	
	
		
			Python
		
	
	
	
	
	
# Generated by Django 3.2.12 on 2022-03-05 15:03
 | 
						|
 | 
						|
import uuid
 | 
						|
 | 
						|
from django.db import migrations, models
 | 
						|
 | 
						|
 | 
						|
class Migration(migrations.Migration):
 | 
						|
 | 
						|
    dependencies = [
 | 
						|
        ("zerver", "0380_userprofile_uuid_backfill"),
 | 
						|
    ]
 | 
						|
 | 
						|
    operations = [
 | 
						|
        migrations.AlterField(
 | 
						|
            model_name="userprofile",
 | 
						|
            name="uuid",
 | 
						|
            field=models.UUIDField(default=uuid.uuid4, unique=True),
 | 
						|
        ),
 | 
						|
    ]
 |