File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ UPDATE "${opt.schema}".stop_times
9999SET stop_sequence_consec = t.seq
100100FROM (
101101 SELECT
102- row_number() OVER (PARTITION BY trip_id ORDER BY stop_sequence ASC) - 1 AS seq,
102+ row_number() OVER (PARTITION BY trip_id ORDER BY stop_sequence ASC)::integer - 1 AS seq,
103103 trip_id, stop_sequence
104104 FROM "${ opt . schema } ".stop_times
105105) AS t
Original file line number Diff line number Diff line change 11{
22 "name" : " gtfs-via-postgres" ,
33 "description" : " Process GTFS using PostgreSQL." ,
4- "version" : " 4.10.1 " ,
4+ "version" : " 4.10.2 " ,
55 "main" : " lib/index.js" ,
66 "bin" : {
77 "gtfs-to-sql" : " cli.js" ,
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ trap 'exit_code=$?; kill -- $(jobs -p); exit $exit_code' SIGINT SIGTERM EXIT
2222../scripts/run-postgraphile.js &
2323sleep 2
2424
25- expected=" $( cat sample-gtfs-feed-postgraphile-test.res.json) "
2625body=$( node -e ' process.stdout.write(JSON.stringify({query: fs.readFileSync("sample-gtfs-feed-postgraphile-test.graphql", {encoding: "utf8"})}))' )
2726actual_path=" $( mktemp -t sample-gtfs-feed-postgraphile-test-XXX) "
2827curl -X POST ' http://localhost:3000/graphql' -H ' Content-Type: application/json' -H ' Accept: application/json' --data " $body " -fsS | jq -r --tab . > " $actual_path "
You can’t perform that action at this time.
0 commit comments