Skip to content

Forcing a specific version?Β #129

@jf-uu

Description

@jf-uu

golang-migrate has support for forcing a specific version via migrate force <N>. This is useful when creating migrations for an already existing schema, as you can create a migration representing the current state and force the version to that (as it techincally already is).

Manually creating and setting the version in the schema version table is one option, but a force command would be nice.

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