Skip to content

Unique Index is not dropped #110

@rjschave

Description

@rjschave

When a field is changed from nullable to non-nullable, a unique index is created by the migration. Rolling the migration back fails because the unique index is not removed. The field cannot be changed because the unique index still depends on the field.

I encountered this issue with the Wagtail project. I created a project to document steps to reproduce the issue - https://github.com/eclipseconsulting/wagtail-mssql-django-unique-index

This issue seems similar, but not identical to issues #100 and #104.

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