-#[derive(AsChangeset)]
-#[diesel(table_name = activity)]
-pub struct ActivityUpdateForm {
- pub data: Option<Value>,
- pub local: Option<bool>,
- pub updated: Option<Option<chrono::NaiveDateTime>>,
- pub sensitive: Option<Option<bool>>,
+#[derive(PartialEq, Eq, Debug, Queryable)]
+#[diesel(table_name = received_activity)]
+pub struct ReceivedActivity {
+ pub id: i64,
+ pub ap_id: DbUrl,
+ pub published: chrono::NaiveDateTime,