Ankit
Ankit

Reputation: 2518

Rescaffold migration in Entity Framework Core

In EF .Net a migration can be rescaffolded with the following:

Add-Migration <migration_name> -force

Can i force rescaffold same migration in Entity Framework Core?

Upvotes: 23

Views: 8863

Answers (1)

Dmitry
Dmitry

Reputation: 16825

There is no such option.

But you may remove it and create again:

Remove-Migration
Add-Migration <migration_name>

Upvotes: 27

Related Questions