identify what feature you need to install to enable migration. code example
Example 1: entity framework migration
Add-Migration InitialCreate
Example 2: entity framework migration
dotnet ef migrations add InitialCreate
Add-Migration InitialCreate
dotnet ef migrations add InitialCreate