Skip to content

Conversation

@roji
Copy link
Member

@roji roji commented Aug 4, 2021

  • Database-level collation is scaffolded to the Fluent API call, instead of to a raw annotation.
  • Don't scaffold database collation when it is identical to the server collation (i.e. is the default).

Fixes #25418
Fixes #25419

Note that we have a test the the database collation isn't scaffolded when it's the default, but no coverage for when it's different, since our DatabaseModelFactoryTest tests don't create new databases. I've manually verified this works.

@roji roji requested a review from a team August 4, 2021 12:02
* Database-level collation is scaffolded to the Fluent API call,
  instead of to a raw annotation.
* Don't scaffold database collation when it is identical to the
  server collation (i.e. is the default).

Fixes #25418
Fixes #25419
@roji roji merged commit 1556414 into main Aug 5, 2021
@roji roji deleted the CollationFixes branch August 5, 2021 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

4 participants