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] Sqlite Migrations: Handle Z and M in spatial columns #23298

Merged
merged 1 commit into from
Nov 19, 2020

Conversation

bricelam
Copy link
Contributor

@bricelam bricelam commented Nov 12, 2020

Fixes #23390

Description

We took some fixes in EF Core 5.0 to enable using additional dimensions (Z and M) in spatial data on SQLite. However, we missed some updates in Migrations resulting in the columns getting created incorrectly in the database.

Customer Impact

This only affects users wanting to start using Z and M in EF Core 5.0. The columns are created in a way that can read and write the data, but more advanced queries and database validation of the data won't work.

How found

Customer reported

Test coverage

We have coverage of reading and writing these values to the database, but no coverage asserting the DML we use to create the columns. This PR adds that coverage.

Regression?

No, Z and M did not work at all in SQLite prior to EF Core 5.0.

Risk

Low

@bricelam bricelam added this to the 5.0.x milestone Nov 13, 2020
@bricelam bricelam changed the title [release/5.0] Sqlite Migrations: Handle Z and M in spatial columns [5.0.1] Sqlite Migrations: Handle Z and M in spatial columns Nov 13, 2020
@ajcvickers
Copy link
Member

Approved by Tactics for 5.0.1.

@bricelam
Copy link
Contributor Author

Note to self: Create a new issue for the specific bug fixed by this PR

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.

SQLite Spatial Migrations: Columns with Z and M created incorrectly
3 participants