Make sure you install Microsoft.EntityFrameworkCore.Design from nuget to allow migrations in the project. Then, open terminal and navigate to the root folder of the project in the solution that contains the EF implementation that you want to enable migrations on.
Create initial snapshot
dotnet ef migrations add InitialCreate
Run migration
dotnet ef database update
For further migrations, use
dotnet ef migrations add MigrationName