You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Migrations: A command to upgrade snapshots and backing models #18557
I don't think our current approach of keeping the model snapshots around forever is sustainable. We should consider adding a command like dotnet ef migrations recreate that reads the models (and possibly the migrations) and re-scaffolds them. This would allow us to eventually remove obsolete model building (and migrations) APIs.
We could even issue a warning during dotnet ef migrations add that they have migrations using obsolete APIs and they need to run the new command before they are removed in a future version.
Reacted by Andriy Svyryd, Arthur Vickers, xiety, Felix Laurence Pamittan, Brice Lambson, Dan Ports, Shay Rojansky, Jacob Foshee, Amber, Nadjib Bait and 21 more
Activity
AndriySvyryd commentedon Oct 26, 2022
Consider generating a more efficient snapshot representation: #20104