✅ Updating Migrations

From my understanding Migrations are the code for EF to create a SQL DB. Ive followed this crash course https://www.youtube.com/watch?v=BfEjDD8mWYg&t=2848s to create my first one but I added more properties to the model so wondering how to update the migration to include those properties on the table. Any help would uh help haha.

Does anyone have any tutorials or info on migrations and how to work with them?
YouTubefreeCodeCamp.org
Learn how to create a web database app in ASP.NET Core using Visual Studio and the C# language.

This tutorial will show you how to :
  • Use the MVC (Model View Controller) design pattern.
  • Configure database tables using the Entity framework.
  • Setup of classes as models. Customize Razor forms.
  • Create methods inside a controller.
  • Style an A...
Was this page helpful?