mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 03:53:50 +00:00 
			
		
		
		
	This is the first step to making the full switch to self-hosted servers use user uuids, per issue #18017. The old id format is still supported of course, for backward compatibility. This commit is separate in order to allow deploying *just* the bouncer API change to production first.
		
			
				
	
	
		
			31 lines
		
	
	
		
			848 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			848 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # Generated by Django 3.2.9 on 2021-12-27 21:10
 | |
| 
 | |
| from django.db import migrations, models
 | |
| 
 | |
| 
 | |
| class Migration(migrations.Migration):
 | |
| 
 | |
|     dependencies = [
 | |
|         ("zilencer", "0023_remotezulipserver_deactivated"),
 | |
|     ]
 | |
| 
 | |
|     operations = [
 | |
|         migrations.AlterField(
 | |
|             model_name="remotepushdevicetoken",
 | |
|             name="user_id",
 | |
|             field=models.BigIntegerField(db_index=True, null=True),
 | |
|         ),
 | |
|         migrations.AddField(
 | |
|             model_name="remotepushdevicetoken",
 | |
|             name="user_uuid",
 | |
|             field=models.UUIDField(null=True),
 | |
|         ),
 | |
|         migrations.AlterUniqueTogether(
 | |
|             name="remotepushdevicetoken",
 | |
|             unique_together={
 | |
|                 ("server", "user_uuid", "kind", "token"),
 | |
|                 ("server", "user_id", "kind", "token"),
 | |
|             },
 | |
|         ),
 | |
|     ]
 |