Skip to content

divergent migration handling is missleading #339

@ignatz

Description

@ignatz

Was just playing around with divergent migrations, i.e. same version but different name.

The Runner has a configuration flag "set_abort_divergent" that does what the name suggests. However, it may come as a surprise that divergent migration are then simply not applied (they also cannot, since the version column in the migration schema has a unique constraint).

There's a lot of error logging going on, it might be worth letting the user know that while the migration proceeds, it is only partially applied 🤷

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions