populate_db: Use channel folder in dev database.

This commit creates "Engineering" channel folder and
adds "devel", "errors" and "test" channels to it.
This commit is contained in:
Sahil Batra
2025-06-10 15:46:45 +05:30
committed by Tim Abbott
parent 1e67b1d23f
commit e243fc67fa
2 changed files with 12 additions and 3 deletions

View File

@@ -221,6 +221,7 @@ def bulk_create_streams(realm: Realm, stream_dict: dict[str, dict[str, Any]]) ->
is_web_public=options.get("is_web_public", False),
is_in_zephyr_realm=realm.is_zephyr_mirror_realm,
creator=options.get("creator", None),
folder_id=options.get("folder_id", None),
**get_default_values_for_stream_permission_group_settings(realm, creator),
)
if "can_send_message_group" in options: