@hierarchy should not be on the RelatedActivityType codelist
Closed this issue · 2 comments
Bjwebb commented
This line in models.py is incorrect:
hierarchy = sa.Column(codelists.RelatedActivityType.db_type())
andylolz commented
The line in question is this one. Presumably this should instead say:
hierarchy = sa.Column(sa.Integer)
…since hierarchy is an integer, rather than a codelist value.