mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
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.
22 lines
551 B
Python
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"
|
|
),
|
|
),
|
|
]
|