Skip to content

getInstance with only string not working #469

Open
@BorntraegerMarc

Description

@BorntraegerMarc

According to the docs https://db-migrate.readthedocs.io/en/latest/API/programable/ this should work: let dbmigrate = DBMigrate.getInstance(true, './path/to/database.json');

Probably because here https://github.com/db-migrate/node-db-migrate/blob/master/api.js#L104 never the type string is checked. Should I do a PR?


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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions