4.1: Run Migration
Last updated
Last updated
Now we need to update our database to reflect changes to our User
entity and add a new table for Photos
.
In the .Data
project, open up the EFConnectContext.cs
file and add a DbSet
property for the Photo class:
Navigate in your terminal to the .Data project and run a migration in your terminal:
Then, update the database:
Open up SQL Server Management Studio and verify that your Photo table and User columns were added