Files
zulip/zilencer/migrations/0005_remotepushdevicetoken_fix_uniqueness.py
Anders Kaseorg c734bbd95d python: Modernize legacy Python 2 syntax with pyupgrade.
Generated by `pyupgrade --py3-plus --keep-percent-format` on all our
Python code except `zthumbor` and `zulip-ec2-configure-interfaces`,
followed by manual indentation fixes.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2020-04-09 16:43:22 -07:00

28 lines
743 B
Python

# Generated by Django 1.11.5 on 2017-10-19 04:23
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={('server', 'token')},
),
]