Skip to content

Support explicitly listing migrations, instead of using a filesystem loading function #651

Description

@moltar

I am bundling a bunch of code using webpack esbuild to deploy as a lambda function. One of the functions does the migrations. However, because all of the code is bundled as a single file, the result is that node-pg-migrate cannot find the migration files.

E.g. TypeORM supports explicit array of migration classes.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions