Migrations scaffolding error when renaming column and adding a table with FK to that column #6258
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Milestone
Steps to reproduce
Update-Database
commandPostId
column toID
The issue
Update-Database
and you will get the following errorIf you move the
AddColumn
andAddPrimaryKey
calls before creating the join table, the error will move away.You may get another error for issue #5660 which can be resolved by removing
defaultValue
optional parameter.Further technical details
EF Core version: 1.0
Operating system: Windows 10 x64
Visual Studio version: 2015 Update 3
The text was updated successfully, but these errors were encountered: