Files
zulip/zerver/migrations/0410_alter_stream_can_remove_subscribers_group.py
Sahil Batra 86c2f6881e models: Update can_remove_subscribers_group field to not be null.
This commit udpates can_remove_subscribers_group to be not null.
We already added a migration to set the value of this field for
existing streams and also added a commit to set this field to
admins system group for now while creating streams.
2022-09-14 16:03:11 -07:00

22 lines
551 B
Python

# Generated by Django 4.0.6 on 2022-07-22 14:47
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("zerver", "0409_set_default_for_can_remove_subscribers_group"),
]
operations = [
migrations.AlterField(
model_name="stream",
name="can_remove_subscribers_group",
field=models.ForeignKey(
on_delete=django.db.models.deletion.RESTRICT, to="zerver.usergroup"
),
),
]