From a47cb8e708b07d409637890570cda6e9189841e8 Mon Sep 17 00:00:00 2001 From: alyssa Date: Thu, 7 Nov 2024 09:26:49 +0900 Subject: [PATCH] fix: reorder return values of message_context --- .../Database/Functions/functions.sql | 32 +++++++++++-------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/PluralKit.Core/Database/Functions/functions.sql b/PluralKit.Core/Database/Functions/functions.sql index 1dd8994c..1517a7bf 100644 --- a/PluralKit.Core/Database/Functions/functions.sql +++ b/PluralKit.Core/Database/Functions/functions.sql @@ -1,23 +1,29 @@ create function message_context(account_id bigint, guild_id bigint, channel_id bigint, thread_id bigint) returns table ( + allow_autoproxy bool, + system_id int, + system_tag text, + system_avatar text, + + latch_timeout integer, + case_sensitive_proxy_tags bool, + proxy_error_message_enabled bool, + + tag_enabled bool, + proxy_enabled bool, + system_guild_tag text, + system_guild_avatar text, + + last_switch int, + last_switch_members int[], + last_switch_timestamp timestamp, + log_channel bigint, in_blacklist bool, in_log_blacklist bool, log_cleanup_enabled bool, - proxy_enabled bool, - last_switch int, - last_switch_members int[], - last_switch_timestamp timestamp, - system_tag text, - system_guild_tag text, - tag_enabled bool, - system_avatar text, - system_guild_avatar text, - allow_autoproxy bool, - latch_timeout integer, - case_sensitive_proxy_tags bool, - proxy_error_message_enabled bool, + deny_bot_usage bool ) as $$