Skip to content

Automatically recreate indexes when an unalterable facet is altered #2538

Description

@roji

Most index facets cannot be altered once an index is created (e.g. method, are nulls distinct...) - to change these, an index needs to be dropped and recreated. Users currently need to do this themselves, but we can do it for them when we detect an alteration.

Activity

  1. self-assigned this
    on Oct 17, 2022
  2. added this to the Backlog milestone on Oct 17, 2022
  3. roji commented on Oct 17, 2022

    @roji
    MemberAuthor

    Blocked on dotnet/efcore#20692: there's currently no AlterIndexOperation in EF.

  4. added theissue type on Jun 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions