http://msdn.microsoft.com/en-us/data/jj618307.aspx
EF Code First Migrations , "update" .
I'm not quite sure how you tuned in, but we did something similar when we deploy the code through our CI server (Jenkins). Then I added a post-deployment step to run the update database through the command line.
What's good about this is you can also specify connection strings.
Again, it all depends on how it fits into your process; you can even use Nant to do this for you.
Hope this helps.
source
share