11,567 questions
The Migrations
namespace is contained in the Microsoft.EntityFrameworkCore.Relational
package. You don't have that package references in your code. Add a NuGet reference to that package and the namespace should be available.