Add collections to schema

This commit is contained in:
asonix 2023-05-14 16:45:38 -05:00
parent 53f3b1cd03
commit 75325d9da4

View file

@ -11,7 +11,7 @@ use bonsaidb::core::{
use self::{object::Object, subject::Subject};
#[derive(Debug, Schema)]
#[schema(name = "TriplestoreSchema", collections = [Triple], authority = "asonix/triplestore")]
#[schema(name = "TriplestoreSchema", collections = [Triple, Iri, LiteralString, LiteralLanguageTag], authority = "asonix/triplestore")]
pub(crate) struct TriplestoreSchema;
/// A collection that stores the relationships of RDF Triples