Skip to content

dbmate requires each migration to define a down block with '-- migrate:down' when it defined #472

Open
@nolinkspl

Description

Description
I've updated dbmate to actual version and some of my migrations became failed.

  • Version: 2.6.0
  • Database: postgres
  • Operating System: Windows WSL: Ubuntu 22.02: image: ghcr.io/amacneil/dbmate

Steps To Reproduce

Errors appears if something written after -- migrate:down, i.e. transaction:false
-- migrate:down transaction:false

Expected Behavior
It works with transaction:false or ignore unrecognized params

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions