-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Collations aren't scaffolded correctly #23386
Labels
area-scaffolding
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
Servicing-approved
type-bug
Milestone
Comments
cc: @roji |
roji
added a commit
that referenced
this issue
Nov 19, 2020
roji
changed the title
Scaffolding - Column collation appears as comment
Collations aren't scaffolded correctly
Nov 19, 2020
roji
added
area-scaffolding
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
labels
Nov 19, 2020
Collations are actually a form of comment on the column on how to do text processing. (JK, submitted #23388. Database collation scaffolding also doesn't work.) |
wow - y'all are fast 😂 |
@roji Please prepare a 5.0.1 patch PR for this. |
Looks good using the dotnet6 feed - thanks again for the quick turnaround! |
5.0.1 patch: #23414 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area-scaffolding
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
Servicing-approved
type-bug
Scaffolding a fluent db context (using
Npgsql.EntityFrameworkCore.PostgreSQL
), column collations appear asHasComment
rather thanUseCollation
.Indexes appear to be generated with the expected collation.
RelationalScaffoldingModelFactory.VisitColumns
line 500 looks a bit suspicious:Shouldn't
be
Include provider and version information
EF Core version: 5.0.0
Database provider: Npgsql.EntityFrameworkCore.PostgreSQL
Target framework: .NET 5.0
Operating system: windows 10 (docker from wsl2)
IDE: command line
The text was updated successfully, but these errors were encountered: