Fixed critical error in Batch table
This commit is contained in:
parent
5972dd6b75
commit
a2587cda60
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user