migration update database code example
Example 1: ef migrations
PM> add-migration MyFirstMigration
PM> Update-Database
Example 2: ef core update database command
update database
PM> add-migration MyFirstMigration
PM> Update-Database
update database