Skip to content

Allow migration files to have .up.sql suffix and use --include-down false #5

@jvatic

Description

@jvatic

As a work-around, if you need your migrations to have the .up.sql suffix but don't want to have down migrations, run

sql-schema migration && git ls-files --others --exclude-standard | grep \\.down\\.sql$ | xargs -r rm

(i.e. immediately delete the generated .down.sql files.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions