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

schema config parameter has no effect with pg driver (postgres) #1199

Closed
stefaneg opened this issue Jan 19, 2017 · 2 comments
Closed

schema config parameter has no effect with pg driver (postgres) #1199

stefaneg opened this issue Jan 19, 2017 · 2 comments

Comments

@stefaneg
Copy link

stefaneg commented Jan 19, 2017

I trying to get db-migrate to create the migration table in a schema of my choosing, to no avail. After a brief look through the code, it seems to me that the schema attribute in database.json is never used. If I understand the code correctly, the config object is passed directly to the node-postgres driver, which does nothing with the schema attribute.

This issue here is probably relevant, it basically states that schema specification through config is not supported.

#1123

Am I missing something?

@charmander
Copy link
Collaborator

Did you mean to raise this issue on https://github.com/db-migrate/node-db-migrate? You’re correct that schema isn’t a supported option, and I don’t think it’s documented to be supported anywhere here.

@stefaneg
Copy link
Author

You are quite right, I am barking up the wrong tree here.

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