mirror of
https://github.com/zulip/zulip.git
synced 2025-10-30 11:33:51 +00:00
minor: Move code blocks to be alphabetical.
This commit is contained in:
@@ -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.
|
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(
|
Config(
|
||||||
table="zerver_alertword",
|
table="zerver_alertword",
|
||||||
model=AlertWord,
|
model=AlertWord,
|
||||||
@@ -893,6 +879,20 @@ def add_user_profile_child_configs(user_profile_config: Config) -> None:
|
|||||||
parent_key="modified_user__in",
|
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(
|
Config(
|
||||||
table="zerver_userhotspot",
|
table="zerver_userhotspot",
|
||||||
model=UserHotspot,
|
model=UserHotspot,
|
||||||
|
|||||||
Reference in New Issue
Block a user