Skip to content

Commit 9d389e0

Browse files
committed
minor tweak 📝; 4.9.1
1 parent d3c85e7 commit 9d389e0

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

lib/service_days.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ FROM (
2727
FROM (
2828
SELECT
2929
*,
30-
generate_series (
30+
generate_series(
3131
start_date::TIMESTAMP,
3232
end_date::TIMESTAMP,
3333
'1 day'::INTERVAL

lib/stop_times.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,6 @@ ${opt.postgraphile ? `\
339339
COMMENT ON COLUMN "${opt.schema}".arrivals_departures.route_short_name IS E'@omit';
340340
COMMENT ON COLUMN "${opt.schema}".arrivals_departures.route_long_name IS E'@omit';
341341
COMMENT ON COLUMN "${opt.schema}".arrivals_departures.route_type IS E'@omit';
342-
COMMENT ON COLUMN "${opt.schema}".arrivals_departures.route_type IS E'@omit';
343342
COMMENT ON COLUMN "${opt.schema}".arrivals_departures.direction_id IS E'@omit';
344343
COMMENT ON COLUMN "${opt.schema}".arrivals_departures.trip_headsign IS E'@omit';
345344
COMMENT ON COLUMN "${opt.schema}".arrivals_departures.stop_name IS E'@omit';

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "gtfs-via-postgres",
33
"description": "Process GTFS using PostgreSQL.",
4-
"version": "4.9.0",
4+
"version": "4.9.1",
55
"main": "lib/index.js",
66
"bin": {
77
"gtfs-to-sql": "cli.js",

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
- ✨ joins `stop_times.txt`/`frequencies.txt`, `calendar.txt`/`calendar_dates.txt`, `trips.txt`, `route.txt` & `stops.txt` into [views](https://www.postgresql.org/docs/14/sql-createview.html) for straightforward data analysis (see below)
1515
- 🚀 is carefully optimised to let PostgreSQL's query planner do its magic, yielding quick lookups even with large datasets (see [performance section](#performance))
1616
- ✅ validates and imports `translations.txt`
17-
- ✨ exposes (almost) all data via GraphQL using [PostGraphile](https://www.graphile.org/postgraphile/introduction/)
17+
- ✨ exposes (almost) all data via GraphQL using [PostGraphile](https://www.graphile.org/postgraphile/introduction/), and as a RESTful API using [PostgREST](https://postgrest.org/)
1818

1919

2020
## Installation
@@ -408,7 +408,7 @@ I don't use it because
408408

409409
- it doesn't handle GTFS Time values correctly ([1](https://github.com/evansiroky/gtfs-sequelize/blob/ba101fa82e730694c536c43e615ff38fd264a65b/lib/gtfsLoader.js#L616-L617)/[2](https://github.com/evansiroky/gtfs-sequelize/blob/ba101fa82e730694c536c43e615ff38fd264a65b/lib/gtfsLoader.js#L24-L33), cheked on 2022-03-01)
410410
- it doesn't provide much tooling for analyzing all arrivals/departures (checked on 2022-03-01)
411-
- some of its operations are quite slow, because they fetch relatved records of a record via JS instead of using `JOIN`s
411+
- some of its operations are quite slow, because they fetch related records of a record via JS instead of using `JOIN`s
412412

413413
### gtfs-sql-importer
414414

0 commit comments

Comments
 (0)