asp.net - Entity Framework attempting to perform a migration when one is not needed -


i have asp.net mvc web application database built using code first entity framework. made small front-end validation updates application, deployed test environment no issues. on deploying same application live environment application fails "automatic migration not applied because result in data loss." error.

i didn't create migrations part of update, nor have migrations been created since application's last deployment either test or live environments - migrationhistory table in each database lists of migrations have been performed far, no migrations outstanding. brought copy of live database down onto development machine testing purposes, error not occur there when using live database same code says needs migrated.

i have couple of questions - know circumstances cause kind of issue, , there way resolve without affecting content of live database?


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -