]> Untitled Git - lemmy.git/blobdiff - crates/db_schema/src/aggregates/structs.rs
Add support for Featured Posts (#2585)
[lemmy.git] / crates / db_schema / src / aggregates / structs.rs
index 08d5e9144099ef22e121df7489e3d11b78f5bb7b..d52b5bb419213e10288e80e000c44e17362d691f 100644 (file)
@@ -68,10 +68,11 @@ pub struct PostAggregates {
   pub score: i64,
   pub upvotes: i64,
   pub downvotes: i64,
-  pub stickied: bool,
   pub published: chrono::NaiveDateTime,
   pub newest_comment_time_necro: chrono::NaiveDateTime, // A newest comment time, limited to 2 days, to prevent necrobumping
   pub newest_comment_time: chrono::NaiveDateTime,
+  pub featured_community: bool,
+  pub featured_local: bool,
 }
 
 #[derive(PartialEq, Eq, Debug, Serialize, Deserialize, Clone)]