From 92040bcc9f6bc5ead6974407d2d170975d7b61ea Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Thu, 7 Nov 2019 10:16:44 +0000 Subject: [PATCH] Store Wikidata entity JSON with depicts item --- depicts/model.py | 1 + 1 file changed, 1 insertion(+) diff --git a/depicts/model.py b/depicts/model.py index 12e4fc0..8dfad18 100644 --- a/depicts/model.py +++ b/depicts/model.py @@ -26,6 +26,7 @@ class DepictsItem(Base): description = Column(String) commons = Column(String) count = Column(Integer) + entity = Column(postgresql.JSON) qid = column_property('Q' + cast(item_id, String)) db_alt_labels = relationship('DepictsItemAltLabel', collection_class=set,