From 3653b53804c11c225769ac021a643ea683e222e6 Mon Sep 17 00:00:00 2001 From: Marcos Prieto Date: Wed, 6 Sep 2023 16:25:37 +0200 Subject: [PATCH] Add ORM relationship to annotation --- h/models/annotation_metadata.py | 1 + 1 file changed, 1 insertion(+) diff --git a/h/models/annotation_metadata.py b/h/models/annotation_metadata.py index d5388155684..96c49d00e1e 100644 --- a/h/models/annotation_metadata.py +++ b/h/models/annotation_metadata.py @@ -16,6 +16,7 @@ class AnnotationMetadata(Base): nullable=False, unique=True, ) + annotation = sa.orm.relationship("Annotation") data = sa.Column( MutableDict.as_mutable(pg.JSONB),