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

New EF Core comment support (take 2) #992

Merged
merged 1 commit into from
Aug 22, 2019
Merged

New EF Core comment support (take 2) #992

merged 1 commit into from
Aug 22, 2019

Conversation

roji
Copy link
Member

@roji roji commented Aug 22, 2019

Unlike the previous attempt in #950, this doesn't exactly conserve backwards compatibility by recognizing the old annotations, so applying old migrations will not generate the comments. However, the previous obsoleted builder methods (ForNpgsqlHasComment) now simply call the new ones, and the first time a migration is generated after upgrading to 3.0.0 the comments will be recreated.

This cleans up the source code, and seems acceptable as this is a rarely-used feature with no functional impact.

Closes #892

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.

Align with new EF Core comments support
2 participants