Handle old migrations with 32-bit identity seed values #25589
Labels
area-migrations-seeding
area-sqlserver
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
type-bug
Milestone
From reported #24840 (comment) by @schuettecarsten
When using "Add-Migration" in Package Manager Console, I still get an exception:
Okay, this was caused by my existing migrations. I had to replace all
.HasAnnotation("SqlServer:IdentitySeed", 1)
with.HasAnnotation("SqlServer:IdentitySeed", 1L)
. It would be great if efcore could handle existing migrations from previous versions.The text was updated successfully, but these errors were encountered: