Skip to content

Resolve conflict #2

@tuxcanfly

Description

@tuxcanfly

When switching between feature branches, sometimes there can be conflict because the same migration number appears in both:

python manage.py migrate baz 0001
- Soft matched migration 0001 to 0001_initial.
Running migrations for baz:
! Migration baz:0002_auto__add_field_foo_bar2
should not have been applied
before baz:0002_auto__add_field_foo_bar1 but was.
InconsistentMigrationHistory: Inconsistent migration history
The following options are available:
    --merge: will just attempt the migration ignoring any potential
    dependency conflicts.

Need to think about a way to resolve this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions