Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
minor: Move code blocks to be alphabetical.
Steve Howell02207f47d5c0
diff --git a/zerver/lib/export.py b/zerver/lib/export.pyindex b79daa21271..4e5cd325b18 100644--- a/zerver/lib/export.py+++ b/zerver/lib/export.py@@ -851,20 +851,6 @@ def add_user_profile_child_configs(user_profile_config: Config) -> None:As of now, we do NOT include bot tables like Service."""- Config(- table="zerver_useractivity",- model=UserActivity,- normal_parent=user_profile_config,- parent_key="user_profile__in",- )-- Config(- table="zerver_useractivityinterval",- model=UserActivityInterval,- normal_parent=user_profile_config,- parent_key="user_profile__in",- )-Config(table="zerver_alertword",model=AlertWord,@@ -893,6 +879,20 @@ def add_user_profile_child_configs(user_profile_config: Config) -> None:parent_key="modified_user__in",)+ Config(+ table="zerver_useractivity",+ model=UserActivity,+ normal_parent=user_profile_config,+ parent_key="user_profile_id__in",+ )++ Config(+ table="zerver_useractivityinterval",+ model=UserActivityInterval,+ normal_parent=user_profile_config,+ parent_key="user_profile_id__in",+ )+Config(table="zerver_userhotspot",model=UserHotspot,