Skip to content

Commit d3ad1f9

Browse files
committed
minor tweaks 📝; 4.9.0
1 parent 4f0b1d3 commit d3ad1f9

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ const convertGtfsToSql = async function* (files, opt = {}) {
153153
-- options:
154154
${inspect(opt, {compact: false}).split('\n').map(line => '-- ' + line).join('\n')}
155155
156-
\\set ON_ERROR_STOP True
156+
\\set ON_ERROR_STOP on
157157
CREATE EXTENSION IF NOT EXISTS postgis;
158158
${opt.schema !== 'public' ? `CREATE SCHEMA IF NOT EXISTS "${opt.schema}";` : ''}
159159
BEGIN;

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.8.2",
4+
"version": "4.9.0",
55
"main": "lib/index.js",
66
"bin": {
77
"gtfs-to-sql": "cli.js",

readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,8 @@ Options:
192192
--postgrest Tweak generated SQL for PostgREST usage.
193193
Please combine it with --schema.
194194
https://postgrest.org/
195+
--postgrest-password Password for the PostgREST PostgreSQL user `web_anon`.
196+
Default: $POSTGREST_PGPASSWORD, fallback random.
195197
--import-metadata Create functions returning import metadata:
196198
- gtfs_data_imported_at (timestamp with time zone)
197199
- gtfs_via_postgres_version (text)

0 commit comments

Comments
 (0)