maintenance: only fetch polylines from journeys which were not edited

This commit is contained in:
Daniel Friesel 2020-02-04 21:23:22 +01:00
parent 5392f654e2
commit 0457a53f65

View file

@ -148,7 +148,8 @@ sub run {
[ 'id', 'polyline_id' ],
{
route => $journey->{route},
polyline_id => { '!=', undef }
polyline_id => { '!=', undef },
edited => 0,
},
{ limit => 1 }
)->hash;