aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sql/clone_schema.sql
diff options
context:
space:
mode:
authorTeddy Wing2017-05-31 16:49:22 +0200
committerTeddy Wing2017-05-31 17:57:36 +0200
commitb5fc278ecb1b59930614a03241e7463f128e8c75 (patch)
tree2f8ef8fcd95c42c40ef9b96a2ed7a17716aa810f /lib/sql/clone_schema.sql
parent52531e2910b3db6ac2a7c5fedbc14b0be54782dc (diff)
downloadchouette-core-b5fc278ecb1b59930614a03241e7463f128e8c75.tar.bz2
VehicleJourney: Set at-stop day offsets when saving
Add a new `before_validation` filter that calls into the day offsetter (`VehicleJourneyAtStopsDayOffset`) to set the correct `arrival_day_offset` and `departure_day_offset`s on each VehicleJourneyAtStop in the VehicleJourney. Doing so ensures that the values are always up to date when the vehicle journey is updated. Refs #3596
Diffstat (limited to 'lib/sql/clone_schema.sql')
0 files changed, 0 insertions, 0 deletions