]> Untitled Git - lemmy.git/blobdiff - lemmy_api/src/community.rs
Merge remote-tracking branch 'origin/split-db-workspace' into move_views_to_diesel_split
[lemmy.git] / lemmy_api / src / community.rs
index c5ac408295f47a251e34cb17755f6292922868cc..405491bd2a2f8da76a28d75fe835677fc5f43e4c 100644 (file)
@@ -11,8 +11,11 @@ use anyhow::Context;
 use lemmy_apub::ActorType;
 use lemmy_db::{
   diesel_option_overwrite,
-  naive_now,
-  source::{comment::Comment, community::*, moderator::*, post::Post, site::*},
+  source::{
+    comment::Comment_,
+    community::{CommunityModerator_, Community_},
+    post::Post_,
+  },
   views::{
     comment_view::CommentQueryBuilder,
     community::{
@@ -29,6 +32,10 @@ use lemmy_db::{
   Joinable,
   SortType,
 };
+use lemmy_db_schema::{
+  naive_now,
+  source::{comment::Comment, community::*, moderator::*, post::Post, site::*},
+};
 use lemmy_structs::{blocking, community::*};
 use lemmy_utils::{
   apub::{generate_actor_keypair, make_apub_endpoint, EndpointType},