-use crate::{schema::private_message, Url};
+use crate::{schema::private_message, DbUrl};
use serde::Serialize;
#[derive(Clone, Queryable, Associations, Identifiable, PartialEq, Debug, Serialize)]
pub read: bool,
pub published: chrono::NaiveDateTime,
pub updated: Option<chrono::NaiveDateTime>,
- pub ap_id: Url,
+ pub ap_id: DbUrl,
pub local: bool,
}
pub read: Option<bool>,
pub published: Option<chrono::NaiveDateTime>,
pub updated: Option<chrono::NaiveDateTime>,
- pub ap_id: Option<Url>,
+ pub ap_id: Option<DbUrl>,
pub local: bool,
}