Generate Migrations Install CLI tools for Entity Framework Core dotnet tool install --global dotnet-ef --version 8.0.11 or update dotnet tool update --global dotnet-ef --version 8.0.11 Add Migration Select Data. folder and run following command for each provider: dotnet ef migrations add <migration-name>