Publish to Azure from Vs2013 with 'Execute Code First Migrations' checked overwrote remote database -


while regular publish azure webdeploy, had checked execute code first migrations, did before. time use connection string @ runtime, checked, , published without noticing it. result remote azure db wiped , instead seeded looks default database aspnetmemembership tables , _migrations table has migrations related identity tables.

the production data w db structures gone , did not yet setup backup on azure, doing now.

is there way restore database sort of auto backup on azure, have web version w 1gb size selected, not see options suggests web version not have daily backup, web version discountinued of april, still have it. http://msdn.microsoft.com/en-us/library/jj650016.aspx

and questions, understand happened? seems extremly dangerous easy wipe out whole database , vs shows no warning nor publishing azure notifies of anything. there can done prevent dumb yet costly erros ? tia


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -