]> Untitled Git - lemmy.git/blobdiff - lemmy_api/src/comment.rs
Merge remote-tracking branch 'origin/split-db-workspace' into move_views_to_diesel_split
[lemmy.git] / lemmy_api / src / comment.rs
index e5f079ad2ae395aa556d41315ac5eedc2117e2dc..bafde6bfbeb67d3d0736e97e5e88b7039e90cfd6 100644 (file)
@@ -11,11 +11,7 @@ use crate::{
 use actix_web::web::Data;
 use lemmy_apub::{ApubLikeableType, ApubObjectType};
 use lemmy_db::{
-  source::{
-    comment::{Comment, CommentForm, CommentLike, CommentLikeForm, CommentSaved, CommentSavedForm},
-    comment_report::{CommentReport, CommentReportForm},
-    moderator::{ModRemoveComment, ModRemoveCommentForm},
-  },
+  source::comment::Comment_,
   views::{
     comment_report_view::{CommentReportQueryBuilder, CommentReportView},
     comment_view::{CommentQueryBuilder, CommentView},
@@ -27,6 +23,7 @@ use lemmy_db::{
   Saveable,
   SortType,
 };
+use lemmy_db_schema::source::{comment::*, comment_report::*, moderator::*};
 use lemmy_structs::{blocking, comment::*, send_local_notifs};
 use lemmy_utils::{
   apub::{make_apub_endpoint, EndpointType},