-
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
Foreign keys for tables marked as ExcludeFromMigrations regenerated in every migrations #23639
Labels
area-migrations
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
@ajcvickers This is not a regression |
AndriySvyryd
added
the
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
label
Dec 10, 2020
AndriySvyryd
added a commit
that referenced
this issue
Dec 10, 2020
AndriySvyryd
added a commit
that referenced
this issue
Dec 10, 2020
AndriySvyryd
added a commit
to dotnet-maestro-bot/EntityFrameworkCore
that referenced
this issue
Dec 10, 2020
This was referenced Mar 6, 2021
This was referenced Mar 15, 2021
Closed
Bump Microsoft.EntityFrameworkCore.Design from 5.0.1 to 5.0.4 in /backend
mrb-itminds/TODO_WebApp#26
Closed
Closed
Closed
Closed
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area-migrations
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
Foreign keys for tables marked as ExcludeFromMigrations regenerate in every migrations
Code sample
Now try to create migration. First migration will be OK. But next migrations will always generate drop and create foreign key from
PhotoItem
toLabImage
.Include provider and version information
EF Core version: 5.0.1
Database provider: Microsoft.EntityFrameworkCore.SqlServer
Target framework: .NET Core 3.1
Operating system: Windows 10
IDE: Visual Studio 2019 16.8
The text was updated successfully, but these errors were encountered: