From da005e5cb5de2ce1baf6c689c9feb15972c12e98 Mon Sep 17 00:00:00 2001 From: Stephen D <webmaster@scd31.com> Date: Sun, 27 Nov 2022 20:09:46 -0400 Subject: [PATCH] fix formatting --- src/schema.rs | 42 +++++++++++++++++++----------------------- 1 file changed, 19 insertions(+), 23 deletions(-) diff --git a/src/schema.rs b/src/schema.rs index 4a883c6..9253787 100644 --- a/src/schema.rs +++ b/src/schema.rs @@ -1,32 +1,28 @@ table! { - server_settings (id) { - id -> Int4, - guild_id -> Numeric, - starboard_threshold -> Int4, - starboard_emoji_id -> Numeric, - starboard_channel -> Numeric, - } + server_settings (id) { + id -> Int4, + guild_id -> Numeric, + starboard_threshold -> Int4, + starboard_emoji_id -> Numeric, + starboard_channel -> Numeric, + } } table! { - starboard_mappings (original_id) { - original_id -> Numeric, - repost_id -> Nullable<Numeric>, - } + starboard_mappings (original_id) { + original_id -> Numeric, + repost_id -> Nullable<Numeric>, + } } table! { - user_programs (id) { - id -> Int4, - discord_user_id -> Numeric, - name -> Varchar, - code -> Text, - published -> Int4, - } + user_programs (id) { + id -> Int4, + discord_user_id -> Numeric, + name -> Varchar, + code -> Text, + published -> Int4, + } } -allow_tables_to_appear_in_same_query!( - server_settings, - starboard_mappings, - user_programs, -); +allow_tables_to_appear_in_same_query!(server_settings, starboard_mappings, user_programs,); -- GitLab