kopia lustrzana https://github.com/glidernet/ogn-python
whoops... stashed
rodzic
c00812c141
commit
61d6e71109
|
@ -16,7 +16,7 @@ class Beacon(AbstractConcreteBase, Base):
|
||||||
|
|
||||||
name = Column(String)
|
name = Column(String)
|
||||||
receiver_name = Column(String(9))
|
receiver_name = Column(String(9))
|
||||||
dstcall = None
|
dstcall = Column(String)
|
||||||
timestamp = Column(DateTime, index=True)
|
timestamp = Column(DateTime, index=True)
|
||||||
symboltable = None
|
symboltable = None
|
||||||
symbolcode = None
|
symbolcode = None
|
||||||
|
|
|
@ -16,6 +16,8 @@ class Device(Base):
|
||||||
software_version = Column(Float)
|
software_version = Column(Float)
|
||||||
hardware_version = Column(SmallInteger)
|
hardware_version = Column(SmallInteger)
|
||||||
real_address = Column(String(6))
|
real_address = Column(String(6))
|
||||||
|
firstseen = Column(DateTime, index=True)
|
||||||
|
lastseen = Column(DateTime, index=True)
|
||||||
|
|
||||||
# Relations
|
# Relations
|
||||||
aircraft_beacons = relationship('AircraftBeacon')
|
aircraft_beacons = relationship('AircraftBeacon')
|
||||||
|
|
Ładowanie…
Reference in New Issue