fixed bug with logistics
This commit is contained in:
@ -167,3 +167,14 @@ class SampleEvent(Base):
|
||||
timestamp = Column(DateTime, default=datetime.utcnow)
|
||||
|
||||
sample = relationship("Sample", back_populates="events")
|
||||
|
||||
#class PuckEvent(Base):
|
||||
# __tablename__ = "sample_events"
|
||||
#
|
||||
# id = Column(Integer, primary_key=True, index=True)
|
||||
# puck_id = Column(Integer, ForeignKey('puck.id'))
|
||||
# tell_position = Column(String(255), nullable=True)
|
||||
# event_type = Column(String(255), index=True)
|
||||
# timestamp = Column(DateTime, default=datetime.utcnow)
|
||||
#
|
||||
# sample = relationship("Sample", back_populates="events")
|
||||
|
Reference in New Issue
Block a user