Reputation: 3739
I have an existing database in production which have not previously been involved with EF Migrations. As such, it is missing the __EFMigrationsHistory table.
I'm doing the following:
Add-Migration InitialCreate
Update-Database
I'm assuming this occurs because there is no migration history, and it tries to create everything from scratch.
How can I add migrations to a database which have not previously used it?
Upvotes: 1
Views: 1570
Reputation: 391
Upvotes: 1