Skip to content

Support passing in migrations directly rather than glob files on disk #418

@tonyxiao

Description

@tonyxiao

We are using slonik migrator as part of an api call on next.js, and it is really tricky to package up the sql files while maintaining the directory hierarchy. It would be so much easier if we can simply pass the migrations into slonik migrator while instantiating in typescript

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions