package manager console script migrate last two migrations code example Example: package manager console add migration add-migration MyFirstMigration Update-Database