migration command for code first ef core add new table asp.net core code example Example: package manager console add migration add-migration MyFirstMigration Update-Database