mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
Since a user could use the same installation of the Zulip mobile app with multiple Zulip servers, correct behavior is to allow reusing the same token with multiple Zulip servers in the RemotePushDeviceToken model.
30 lines
812 B
Python
30 lines
812 B
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.11.5 on 2017-10-19 04:23
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('zilencer', '0004_remove_deployment_model'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='remotepushdevicetoken',
|
|
name='token',
|
|
field=models.CharField(db_index=True, max_length=4096),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='remotepushdevicetoken',
|
|
name='user_id',
|
|
field=models.BigIntegerField(db_index=True),
|
|
),
|
|
migrations.AlterUniqueTogether(
|
|
name='remotepushdevicetoken',
|
|
unique_together=set([('server', 'token')]),
|
|
),
|
|
]
|