]> Untitled Git - lemmy.git/blobdiff - lemmy_db/src/comment.rs
Merge branch 'main' into move_views_to_diesel
[lemmy.git] / lemmy_db / src / comment.rs
index f54ddd10f203def7fc3820ec4887a1196a379edb..fb327a308dfbe8d63eee316648fa779141f0ddd8 100644 (file)
@@ -190,7 +190,7 @@ pub struct CommentLike {
   pub id: i32,
   pub user_id: i32,
   pub comment_id: i32,
-  pub post_id: i32,
+  pub post_id: i32, // TODO this is redundant
   pub score: i16,
   pub published: chrono::NaiveDateTime,
 }
@@ -200,7 +200,7 @@ pub struct CommentLike {
 pub struct CommentLikeForm {
   pub user_id: i32,
   pub comment_id: i32,
-  pub post_id: i32,
+  pub post_id: i32, // TODO this is redundant
   pub score: i16,
 }