glottolog/treedb

IsoRetirement check constraints too strict

Closed this issue · 1 comments

The two constraints

treedb/treedb/models.py

Lines 1143 to 1144 in eda7644

remedy = Column(Text, CheckConstraint("remedy != ''"))
comment = Column(Text, CheckConstraint("comment != ''"))

might be too strict. See code ajt here https://iso639-3.sil.org/sites/iso639-3/files/downloads/iso-639-3_Retirements.tab