From 4eced2518c81f848ebe8271b2a3ea03ec1b29820 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Thu, 10 Dec 2020 13:33:24 +0100 Subject: [PATCH] try caching --- .drone.yml | 2 +- lemmy_db/src/schema.rs | 68 +++++++++++++++++++++--------------------- 2 files changed, 35 insertions(+), 35 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6e7c2aec..0feda658 100644 --- a/.drone.yml +++ b/.drone.yml @@ -42,7 +42,7 @@ steps: POSTGRES_PASSWORD: password detach: true - - name: install deps and run cargo test + - name: cargo test image: ekidd/rust-musl-builder:experimental-stable user: root environment: diff --git a/lemmy_db/src/schema.rs b/lemmy_db/src/schema.rs index 49bbc46f..535f4c53 100644 --- a/lemmy_db/src/schema.rs +++ b/lemmy_db/src/schema.rs @@ -557,38 +557,38 @@ joinable!(user_mention -> comment (comment_id)); joinable!(user_mention -> user_ (recipient_id)); allow_tables_to_appear_in_same_query!( - activity, - category, - comment, - comment_aggregates_fast, - comment_like, - comment_report, - comment_saved, - community, - community_aggregates_fast, - community_follower, - community_moderator, - community_user_ban, - mod_add, - mod_add_community, - mod_ban, - mod_ban_from_community, - mod_lock_post, - mod_remove_comment, - mod_remove_community, - mod_remove_post, - mod_sticky_post, - password_reset_request, - post, - post_aggregates_fast, - post_like, - post_read, - post_report, - post_saved, - private_message, - site, - user_, - user_ban, - user_fast, - user_mention, + activity, + category, + comment, + comment_aggregates_fast, + comment_like, + comment_report, + comment_saved, + community, + community_aggregates_fast, + community_follower, + community_moderator, + community_user_ban, + mod_add, + mod_add_community, + mod_ban, + mod_ban_from_community, + mod_lock_post, + mod_remove_comment, + mod_remove_community, + mod_remove_post, + mod_sticky_post, + password_reset_request, + post, + post_aggregates_fast, + post_like, + post_read, + post_report, + post_saved, + private_message, + site, + user_, + user_ban, + user_fast, + user_mention, ); -- 2.44.1