mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 03:53:50 +00:00 
			
		
		
		
	This commit replaces boolean field add_emoji_by_admins_only with an integer field add_custom_emoji_policy as we would also add full members and moderators option for this setting in further commits.
		
			
				
	
	
		
			19 lines
		
	
	
		
			416 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			416 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # Generated by Django 3.2.2 on 2021-05-15 18:00
 | |
| 
 | |
| from django.db import migrations, models
 | |
| 
 | |
| 
 | |
| class Migration(migrations.Migration):
 | |
| 
 | |
|     dependencies = [
 | |
|         ("zerver", "0336_userstatus_status_emoji"),
 | |
|     ]
 | |
| 
 | |
|     operations = [
 | |
|         migrations.AddField(
 | |
|             model_name="realm",
 | |
|             name="add_custom_emoji_policy",
 | |
|             field=models.PositiveSmallIntegerField(default=1),
 | |
|         ),
 | |
|     ]
 |