pm console add-migration syntax code example
Example 1: package manager console add migration
add-migration MyFirstMigration
Update-Database
Example 2: update database syntaxn using nuget package
PM> Update-Database
add-migration MyFirstMigration
Update-Database
PM> Update-Database