Files
zulip/zerver/migrations/0649_realm_can_add_subscribers_group.py
Shubham Padia 3cdc9d8459 realm: Add can_add_subscribers_group as a setting.
This commit just adds the setting, the work to use this setting and
replace `invite_to_stream_policy` will be done in future commits.
2025-01-22 12:33:56 -08:00

24 lines
611 B
Python

# Generated by Django 5.0.10 on 2025-01-13 08:06
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("zerver", "0648_remove_stream_stream_post_policy"),
]
operations = [
migrations.AddField(
model_name="realm",
name="can_add_subscribers_group",
field=models.ForeignKey(
null=True,
on_delete=django.db.models.deletion.RESTRICT,
related_name="+",
to="zerver.usergroup",
),
),
]