]> Untitled Git - lemmy.git/blobdiff - crates/db_schema/src/aggregates/structs.rs
implement language tags for site/community in db and api (#2434)
[lemmy.git] / crates / db_schema / src / aggregates / structs.rs
index e526b49ddaa6a60155ff1c5dd56272d2b7de9968..ab87f4580086861d8c4ba11c5d88ec40965ef914 100644 (file)
@@ -97,7 +97,7 @@ pub struct PersonPostAggregatesForm {
   pub published: Option<chrono::NaiveDateTime>,
 }
 
-#[derive(PartialEq, Debug, Serialize, Deserialize, Clone)]
+#[derive(PartialEq, Eq, Debug, Serialize, Deserialize, Clone)]
 #[cfg_attr(feature = "full", derive(Queryable, Associations, Identifiable))]
 #[cfg_attr(feature = "full", diesel(table_name = site_aggregates))]
 #[cfg_attr(feature = "full", diesel(belongs_to(crate::source::site::Site)))]