|
|
@@ -1,4 +1,4 @@ |
|
|
|
from sqlalchemy import Column, Integer, String, ForeignKey, DateTime, LargeBinary |
|
|
|
from sqlalchemy import Column, Float, Integer, String, ForeignKey, DateTime, LargeBinary |
|
|
|
from sqlalchemy.orm import relationship |
|
|
|
from db.base import Base |
|
|
|
|
|
|
@@ -11,7 +11,7 @@ class FuelingTask(Base): |
|
|
|
Date = Column(DateTime, nullable=False) |
|
|
|
Description = Column(String, nullable=True) |
|
|
|
Cost = Column(Integer, nullable=False) |
|
|
|
FuelRefilled = Column(Integer, nullable=False) |
|
|
|
FuelRefilled = Column(Float, nullable=False) |
|
|
|
GasStationName = Column(String, nullable=False) |
|
|
|
ImageBefore = Column(LargeBinary, nullable=False) |
|
|
|
ImageAfter = Column(LargeBinary, nullable=False) |
|
|
|