-use crate::newtypes::{CommentId, DbUrl, LtreeDef, PersonId, PostId};
+use crate::newtypes::{CommentId, DbUrl, LanguageId, LtreeDef, PersonId, PostId};
use diesel_ltree::Ltree;
use serde::{Deserialize, Serialize};
#[serde(with = "LtreeDef")]
pub path: Ltree,
pub distinguished: bool,
+ pub language_id: LanguageId,
}
#[derive(Clone, Default)]
pub ap_id: Option<DbUrl>,
pub local: Option<bool>,
pub distinguished: Option<bool>,
+ pub language_id: Option<LanguageId>,
}
#[derive(PartialEq, Debug, Clone)]