db-migrate / db-migrate/node-db-migrate
schema config parameter has no effect with pg driver (postgres)
- Dominant language
- JavaScript
- Stars
- 2.3k
- Forks
- 361
- PR merge metrics
- No merged PRs in 30d
Description
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 possibly relevant, it basically states that schema specification through config is not supported.
https://github.com/brianc/node-postgres/issues/1123
Am I missing something?
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/41592523-schema-config-parameter-has-no-effect-with-pg-driver-postgres?utm_campaign=plugin&utm_content=tracker%2F73887&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F73887&utm_medium=issues&utm_source=github).
Contributor guide
Assessment
This issue has not been assessed yet.