fix: add MemberType.ignore_sales column

This commit is contained in:
Lance Edgar 2025-01-11 21:52:22 -06:00
parent cb6ed15eb8
commit 464f107a88

View file

@ -1037,6 +1037,9 @@ class MemberType(Base):
ssi = sa.Column(sa.Boolean(), nullable=True)
ignoreSales = sa.Column(sa.Boolean(), nullable=True, default=False)
ignore_sales = orm.synonym('ignoreSales')
# TODO: this was apparently added "recently" - isn't present in all DBs
# (need to figure out how to conditionally include it in model?)
# sales_code = sa.Column('salesCode', sa.Integer(), nullable=True)