diff --git a/acrate-core/migrations/2024-11-14-031744_meta/up.sql b/acrate-core/migrations/2024-11-14-031744_meta/up.sql index 222b04d..1b7f236 100644 --- a/acrate-core/migrations/2024-11-14-031744_meta/up.sql +++ b/acrate-core/migrations/2024-11-14-031744_meta/up.sql @@ -32,6 +32,7 @@ CREATE TABLE meta_properties ( id UUID DEFAULT gen_random_uuid(), document BPCHAR NOT NULL, pattern BPCHAR NOT NULL, + rel BPCHAR NOT NULL, value BPCHAR, PRIMARY KEY (id) diff --git a/acrate-core/src/meta.rs b/acrate-core/src/meta.rs index 7ff7aa9..699cf4e 100644 --- a/acrate-core/src/meta.rs +++ b/acrate-core/src/meta.rs @@ -40,6 +40,7 @@ pub struct MetaProperty { pub id: Uuid, pub document: String, pub pattern: String, + pub rel: String, pub value: Option, }