Store Wikidata entity JSON with depicts item
This commit is contained in:
parent
09b4b47b8d
commit
92040bcc9f
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue