You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
berlin-gtfs-rt-server uses hafas-gtfs-rt-feed underneath, which in turn uses gtfs-via-postgres & match-gtfs-rt-to-gtfs. The former already supports using a schema other than public, but match-gtfs-rt-to-gtfs doesn't support it yet.
This use case has been brought up in derhuerst/berlin-gtfs-rt-server#9.
berlin-gtfs-rt-server
useshafas-gtfs-rt-feed
underneath, which in turn usesgtfs-via-postgres
&match-gtfs-rt-to-gtfs
. The former already supports using a schema other thanpublic
, butmatch-gtfs-rt-to-gtfs
doesn't support it yet.Two places would have to be adapted:
build-index
command needs a new option (e.g.--db-schema
).index.js
) needs a new option (e.g.dbSchema
).The name of the schema should be added to the DB queries in a secure manner, e.g. by using
pg-format
.The text was updated successfully, but these errors were encountered: