From d0aa551ef4dcfa8546f41e4929b11fea1d910c36 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 15 Nov 2024 05:21:05 +0100 Subject: [PATCH] `core`: Add document to the meta types --- acrate-core/src/meta.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/acrate-core/src/meta.rs b/acrate-core/src/meta.rs index a365579..82da189 100644 --- a/acrate-core/src/meta.rs +++ b/acrate-core/src/meta.rs @@ -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, @@ -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, }