efcore icon indicating copy to clipboard operation
efcore copied to clipboard

add-migration not recognising changes.

Open oliverslade opened this issue 11 years ago • 2 comments

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.

oliverslade avatar Jun 22 '15 12:06 oliverslade

Weird. Could you share more of your project? (e.g. your DbContext class, Startup.cs, config.json...)

bricelam avatar Jun 22 '15 16:06 bricelam

Closing for now. Feel free to re-open with the information requested.

bricelam avatar Jul 03 '15 03:07 bricelam