In NuGet package manager console install dotnet-ef which is the entity framework command line tool:
dotnet tool install --global dotnet-ef
- In Visual Studio, open the NuGet Package Manager Console
- Go to the BedBrigade/BedBrigade.Data directory. Example:
- Add a migration. Example:
dotnet ef migrations add Addresses
- Update the database. Example:
dotnet ef database update
dotnet ef migrations remove