Skip to content

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

Open
@stefaneg

Description

@stefaneg

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.

brianc/node-postgres#1123

Am I missing something?


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions