1. transport_mode depends on origin and 2. pickup timetable
Deploy PBT / deploy (push) Successful in 16s
Deploy PBT / deploy (push) Successful in 16s
This commit is contained in:
@@ -76,6 +76,10 @@ class Trip(db.Model):
|
||||
|
||||
transport_mode = db.Column(db.String(50), nullable=False)
|
||||
line = db.Column(db.String(50))
|
||||
# optional detail beyond the line, e.g. direction/departure time looked up
|
||||
# in an external journey planner ("Kurs"); free text, nothing to match.
|
||||
# Text, not String(n) - see the "lines" column truncation incident.
|
||||
course = db.Column(db.Text)
|
||||
# free-text label as entered; *_stop_id links to a known stop when matched
|
||||
origin = db.Column(db.String(120), nullable=False)
|
||||
origin_stop_id = db.Column(db.Integer, db.ForeignKey("stops.id"))
|
||||
|
||||
Reference in New Issue
Block a user