I can use package manager to run \'update-database -verbose\' locally.
Probably a stupid question but I can\'t find it online - once my website is deployed - how can I r
You have a couple of options:
update-database -script
to generate the SQL commands to update the database on the server/packages/EntityFramework5.0.0/tools/migrate.exe
. I've used it successfully in the past with Jet Brains' Team City Build Server to setup the migrations with my deploy scripts.Update: Also, check out Sayed Ibrahim's blog, he works on the MsBuild Team at Microsoft and has some great insights on deployments