Added local flight duration

This commit is contained in:
2025-12-18 06:27:22 -05:00
parent f65c54109e
commit f572fb75f5
6 changed files with 33 additions and 5 deletions

View File

@@ -27,6 +27,7 @@ class LocalFlight(Base):
pob = Column(Integer, nullable=False) # Persons on board
flight_type = Column(SQLEnum(LocalFlightType), nullable=False, index=True)
status = Column(SQLEnum(LocalFlightStatus), nullable=False, default=LocalFlightStatus.BOOKED_OUT, index=True)
duration = Column(Integer, nullable=True) # Duration in minutes
notes = Column(Text, nullable=True)
created_dt = Column(DateTime, nullable=False, server_default=func.current_timestamp(), index=True)
etd = Column(DateTime, nullable=True, index=True) # Estimated Time of Departure