Skip to content

Make the migration optional via an environmental variable? #103

@kostasx

Description

@kostasx

await orm.getMigrator().up();

Maybe make this line optional when a certain env variable is set?

Something like:

NODE_ENV=migration && npm start

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