updated models for price

This commit is contained in:
2024-09-23 18:13:40 -04:00
parent bc2879616e
commit b0d94619d9
2 changed files with 25 additions and 6 deletions

View File

@@ -12,11 +12,13 @@ class Pricing_Oil_Oil(Base):
autoincrement=True,
unique=False)
price_from_supplier = Column(DECIMAL(50, 2))
price_for_customer = Column(DECIMAL(50, 2))
price_for_employee = Column(DECIMAL(50, 2))
price_same_day = Column(DECIMAL(50, 2))
price_prime = Column(DECIMAL(50, 2))
price_from_supplier = Column(DECIMAL(6, 2))
price_for_customer = Column(DECIMAL(6, 2))
price_for_employee = Column(DECIMAL(6, 2))
price_same_day = Column(DECIMAL(6, 2))
price_same_day = Column(DECIMAL(6, 2))
price_prime = Column(DECIMAL(6, 2))
#price_emergency = Column(DECIMAL(6, 2))
date = Column(TIMESTAMP(), default=datetime.utcnow())