-
Notifications
You must be signed in to change notification settings - Fork 12
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
Code-first spatial index creation #26
Comments
This error looks significantly different from what's in this issue's title. Can you please update one or the other, or add details about how the |
Sorry about that. I had another issue I solved before filing this one. I also mis-keyed and submitted this a bit early, but I'm still struggling with it so I left it submitted. |
Are you looking for dotnet/efcore#12538? |
Yes, apparently I am. |
I am getting this error creating my database from scratch in a unit test:
This is a simplified version of the class. It was reverse-engineered by EF Core Power Tools.
In a unit test I attempt to create this database from scratch. The error occurs at
DataContext.Database.EnsureCreated();
This previous issue indicates a spatial index should be possible. dotnet/efcore#12538
I also tried removing the [Index] attribute from the class and creating it with the builder:
entity.HasIndex(e => e.MosaicShape, "MosaicShape_Index");
The error was the same, as expected.
The text was updated successfully, but these errors were encountered: