run migrations add migration code example Example 1: entity framework migration Update-Database Example 2: ef core update database command update database