From 6315c22ad6f3d775f837198197ae9e4af5629f9b Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 15 Nov 2024 06:30:42 +0100 Subject: [PATCH] `core`: Add missing `rel` attribute to meta_properties --- acrate-core/migrations/2024-11-14-031744_meta/up.sql | 1 + acrate-core/src/meta.rs | 1 + 2 files changed, 2 insertions(+) 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, }