Files
zulip/zerver/migrations/0255_userprofile_stream_add_recipient_column.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

25 lines
709 B
Python

# Generated by Django 1.11.26 on 2019-11-27 21:15
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('zerver', '0254_merge_0209_0253'),
]
operations = [
migrations.AddField(
model_name='userprofile',
name='recipient',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='zerver.Recipient'),
),
migrations.AddField(
model_name='stream',
name='recipient',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='zerver.Recipient'),
),
]