Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to generate an explicit migration in entity framework

I am adding a new migration but this message shows:

Unable to generate an explicit migration because the following explicit migrations are pending: [201203170856167_left]. Apply the pending explicit migrations before attempting to generate a new explicit migration.

Can any one help me?

like image 702
Noman Saeed Avatar asked Mar 22 '12 07:03

Noman Saeed


1 Answers

It tells you that there is some unprocessed migration in your application and it requires running Update-Database before you can add another migration.

like image 144
Ladislav Mrnka Avatar answered Sep 18 '22 19:09

Ladislav Mrnka