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

[5.0.1] Fix collation scaffolding #23414

Merged
merged 2 commits into from
Nov 21, 2020
Merged

[5.0.1] Fix collation scaffolding #23414

merged 2 commits into from
Nov 21, 2020

Conversation

roji
Copy link
Member

@roji roji commented Nov 20, 2020

Fixes #23386

Description

EF Core 5.0 added support for database and column collations, but the scaffolding logic was faulty.

Customer Impact

When reverse engineering an existing database, column collations are mistakenly scaffolded as comments, and database collations aren't scaffolded at all.

How found

User-reported for 5.0.0

Test coverage

Added in this PR. In addition, we have identified scaffolding as an area where we are lacking sufficient test coverage and are beginning to address this.

Regression?

No, collations are new in 5.0.

Risk

Very low, minimal code changes, and only in the scaffolding code (no impact on runtime).

@roji roji changed the base branch from main to release/5.0 November 20, 2020 13:04
@ajcvickers ajcvickers added this to the 5.0.1 milestone Nov 20, 2020
@ajcvickers ajcvickers modified the milestones: 5.0.1, 5.0.x Nov 20, 2020
@ajcvickers
Copy link
Member

Approved by Tactics for 5.0.1.

@ajcvickers ajcvickers modified the milestones: 5.0.x, 5.0.1 Nov 20, 2020
@roji roji merged commit 240223e into release/5.0 Nov 21, 2020
@roji roji deleted the CollationScaffoldPatch branch November 21, 2020 08:20
@ajcvickers ajcvickers removed this from the 5.0.1 milestone Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Collations aren't scaffolded correctly
2 participants