Skip to content

Migrations: Detect renamed properties #6582

Closed
Closed

Description

@bricelam

We currently detect renaming a column, but detecting renamed properties is harder because they could easily be intended for adding and removing a column.

We could go down the path of using contextual information like #5155 & #6404 propose, but that seems a little excessive. We could also mimic EF6 where if 80% of the metadata is the same, we consider it a rename, but this yielded false positives.

I propose we consider a column renamed if only the name is different. This will catch the same cases as the two referenced issues, and hopefully yield less false positives.

Activity

  1. added this to the 1.1.0 milestone on Sep 21, 2016
  2. self-assigned this
    on Sep 21, 2016
  3. changed the title [-]Migrations: Detected renamed properties[/-] [+]Migrations: Detect renamed properties[/+] on Sep 21, 2016
  4. modified the milestones: , 1.1.0 on Oct 15, 2022
  5. added theissue type on Jun 15, 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

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions