Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connect to multiple databases, with different schemas, etc... #43

Open
fpurcell opened this issue Jan 31, 2019 · 1 comment
Open

connect to multiple databases, with different schemas, etc... #43

fpurcell opened this issue Jan 31, 2019 · 1 comment

Comments

@fpurcell
Copy link
Member

what: allow gtfsdb to connect to multiple databases and/or different schemas in a single instance
problem: currently gtfsdb monkey patches ORM classes when using either schema or geom tables (postgres), etc... Because of these 'global' changes, we can only connect to a single db / schema.
why: would like to connect to agency X and agency Y in same memory space.

@mark-lester
Copy link

I have extended GTFS with a "DataSet" concept, everything belongs to DataSet. I'd like to scrap my loader for gtfsdb and am considering writing a tool to take an uploaded gtfs db and decant that into my main tables with the extensions. I would prefer if all the imported keys were mapped onto the same space (i.e. unique in that table, not by concatenating with the DataSetId) , so that means resolving the id's again. if there is any public work on maintaining a GTFS db of multiple GTFS data sets, please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants