vendredi 6 juin 2014

Why is an automatic migration being created for changes that are included in an explicit migration?


Vote count:

0




Scenario: both myself and a co-worker create explicit code first migrations. When trying to apply them, we encounter the "Pending Changes" error. I enabled automatic migrations and used the -script parameter to see the sql statements. It's creating three migrations: mine, my co-workers, and then an automatic migration that consists of the same statements that my EXPLICIT migration included (obviously, the Insert statement for the migration history table is slightly different).


I'm at a loss. Why are my changes being viewed as pending, even though they are included in the explicit migration?



asked 42 secs ago






Aucun commentaire:

Enregistrer un commentaire