X-Git-Url: http://these/git/?a=blobdiff_plain;f=crates%2Fdb_schema%2Fsrc%2Faggregates%2Fstructs.rs;h=d52b5bb419213e10288e80e000c44e17362d691f;hb=9dfd819691676994ac52b000fc4f93dfe72bc2b3;hp=08d5e9144099ef22e121df7489e3d11b78f5bb7b;hpb=0ecf256ce32392b53b96a24ddd8f2e4e513281da;p=lemmy.git diff --git a/crates/db_schema/src/aggregates/structs.rs b/crates/db_schema/src/aggregates/structs.rs index 08d5e914..d52b5bb4 100644 --- a/crates/db_schema/src/aggregates/structs.rs +++ b/crates/db_schema/src/aggregates/structs.rs @@ -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)]