diff --git a/brewman/brewman/models/voucher.py b/brewman/brewman/models/voucher.py index 3e94589a..bbafa4c2 100644 --- a/brewman/brewman/models/voucher.py +++ b/brewman/brewman/models/voucher.py @@ -218,7 +218,7 @@ class Batch(Base): __tablename__ = 'entities_batches' id = Column('BatchID', GUID(), primary_key=True, default=uuid.uuid4) - name = Column('Date', DateTime) + name = Column('Name', DateTime) product_id = Column('ProductID', GUID(), ForeignKey('entities_products.ProductID')) quantity_remaining = Column('QuantityRemaining', Numeric) rate = Column('Rate', Numeric)