mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 03:53:50 +00:00 
			
		
		
		
	To be more consistent with the meaning in the Stream model, and to make it easier to have a reasonable settings API, we get rid of the None value for Realm.message_retention_days in favor of the value -1 to represent the "don't delete messages" default policy.
		
			
				
	
	
		
			19 lines
		
	
	
		
			417 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			417 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # Generated by Django 2.2.13 on 2020-06-24 09:24
 | |
| 
 | |
| from django.db import migrations, models
 | |
| 
 | |
| 
 | |
| class Migration(migrations.Migration):
 | |
| 
 | |
|     dependencies = [
 | |
|         ('zerver', '0290_remove_night_mode_add_color_scheme'),
 | |
|     ]
 | |
| 
 | |
|     operations = [
 | |
|         migrations.AlterField(
 | |
|             model_name='realm',
 | |
|             name='message_retention_days',
 | |
|             field=models.IntegerField(default=-1),
 | |
|         ),
 | |
|     ]
 |