Fix how we interpret Product.id_enforced values

will be an age, not a flag
This commit is contained in:
Lance Edgar 2020-03-29 23:36:37 -05:00
parent e0058c003d
commit 07c24b63dc

View file

@ -316,7 +316,7 @@ class Product(Base):
quantity_enforced = sa.Column('qttyEnforced', sa.Boolean(), nullable=True) quantity_enforced = sa.Column('qttyEnforced', sa.Boolean(), nullable=True)
id_enforced = sa.Column('idEnforced', sa.Boolean(), nullable=True) id_enforced = sa.Column('idEnforced', sa.SmallInteger(), nullable=True)
cost = sa.Column(sa.Float(), nullable=True, default=0) cost = sa.Column(sa.Float(), nullable=True, default=0)