diff --git a/corepos/db/office_op/model.py b/corepos/db/office_op/model.py index 99dee9f..574e42b 100644 --- a/corepos/db/office_op/model.py +++ b/corepos/db/office_op/model.py @@ -316,7 +316,7 @@ class Product(Base): 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)