fix: add more enums for batch discount type, editor UI

also fix column type for editor UI
This commit is contained in:
Lance Edgar 2025-01-14 20:20:41 -06:00
parent e37cf88cd9
commit ab56a35acc
2 changed files with 22 additions and 3 deletions

View file

@ -1646,7 +1646,7 @@ class BatchType(Base):
special_order_eligible = sa.Column('specialOrderEligible', sa.Boolean(), nullable=True, default=True)
editor_ui = sa.Column('editorUI', sa.Boolean(), nullable=True, default=True)
editor_ui = sa.Column('editorUI', sa.SmallInteger(), nullable=True, default=True)
allow_single_store = sa.Column('allowSingleStore', sa.Boolean(), nullable=True, default=False)