efcore
efcore copied to clipboard
add-migration not recognising changes.
When attempting to use the command add-migration in the Package Manager Console an empty DbMigration file is produced containing nothing but the two empty methods: public override void Up() { }
public override void Down() { }
These methods should contain a number of changes that have occurred including new tables however nothing shows up.
Weird. Could you share more of your project? (e.g. your DbContext class, Startup.cs, config.json...)
Closing for now. Feel free to re-open with the information requested.