Run a new migration and update the database code example Example 1: entity framework migration Update-Database Example 2: entity framework migration Add-Migration InitialCreate