Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue where property with ValueGeneratedOnAdd is reseeded in every migration #21683

Conversation

ChristopherHaws
Copy link
Contributor

@ChristopherHaws ChristopherHaws commented Jul 18, 2020

This PR fixes an issue where seeded values that contain a property that is set to ValueGeneratedOnAdd get reseeded in every new migration, even though none of the values changed.

Fixes #21661

@ChristopherHaws ChristopherHaws changed the title Fix issue where property with value generated on add is reseeded in every migration Fix issue where property with ValueGeneratedOnAdd is reseeded in every migration Jul 18, 2020
@ChristopherHaws ChristopherHaws force-pushed the bug/migration-reseeds-value-generated-on-add branch from 9e4769f to a8f0f4c Compare July 21, 2020 01:42
Copy link
Member

@AndriySvyryd AndriySvyryd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution!

@ChristopherHaws
Copy link
Contributor Author

No problem, thanks for the awesome library! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using ValueGeneratedOnAdd on a property that is seeded causes UpdateData calls in every subsequent migration
2 participants