core
: Add document to the meta types
This commit is contained in:
parent
b7924c8776
commit
d0aa551ef4
1 changed files with 3 additions and 0 deletions
|
@ -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>,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue