user_groups: Remove unneeded fields from UserGroup model.

This commit removes name, description, is_system_group and
can_mention_group fields from UserGroup model and rename
them in NamedUserGroup model.

Fixes #29554.
This commit is contained in:
Sahil Batra
2024-04-18 22:29:50 +05:30
committed by Tim Abbott
parent 27558315a2
commit 7518d550f2
8 changed files with 80 additions and 61 deletions

View File

@@ -266,8 +266,6 @@ def get_temp_user_group_id() -> Dict[str, object]:
name="temp",
realm=get_realm("zulip"),
can_mention_group_id=11,
named_group_name="temp",
named_group_can_mention_group_id=11,
realm_for_sharding=get_realm("zulip"),
)
return {