1
Fork 0

core: Add document to the meta types

This commit is contained in:
Steffo 2024-11-15 05:21:05 +01:00
parent b7924c8776
commit d0aa551ef4
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -8,6 +8,7 @@ use super::schema;
#[diesel(table_name = schema::meta_aliases)]
pub struct MetaAlias {
pub id: Uuid,
pub document: String,
pub pattern: String,
pub alias: String,
}
@ -16,6 +17,7 @@ pub struct MetaAlias {
#[diesel(table_name = schema::meta_links)]
pub struct MetaLink {
pub id: Uuid,
pub document: String,
pub pattern: String,
pub rel: String,
pub r#type: Option<String>,
@ -36,6 +38,7 @@ pub struct MetaLinkProperty {
#[diesel(table_name = schema::meta_properties)]
pub struct MetaProperty {
pub id: Uuid,
pub document: String,
pub pattern: String,
pub value: Option<String>,
}