fix: add MemberType.ignore_sales
column
This commit is contained in:
parent
cb6ed15eb8
commit
464f107a88
|
@ -1037,6 +1037,9 @@ class MemberType(Base):
|
||||||
|
|
||||||
ssi = sa.Column(sa.Boolean(), nullable=True)
|
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
|
# TODO: this was apparently added "recently" - isn't present in all DBs
|
||||||
# (need to figure out how to conditionally include it in model?)
|
# (need to figure out how to conditionally include it in model?)
|
||||||
# sales_code = sa.Column('salesCode', sa.Integer(), nullable=True)
|
# sales_code = sa.Column('salesCode', sa.Integer(), nullable=True)
|
||||||
|
|
Loading…
Reference in a new issue