EF migration shows empty Up() Down() methods
You need to add your table to your implementation of the DbContext
class, e.g.
public class MyDatabaseEntities : DbContext {
public virtual DbSet<MyTable> MyTable { get; set; }
}
While rolling back an existing EF Core Data Context back to empty, my migrations wouldn't generate until I removed the ApplicationDbContextModelSnapshot
that accompanied the migrations.
This class is auto-generated and needs to align with your current migration level.