Assume that I have some database at my development PC. I then published my Asp.net App to some client. I took database backup and restored at client side.
After that, I have made some changes on schema of my local database. Those changes are added using Code-First migrations (using package-manager Add-Migration). Now I want to execute these migrations on client database. How do I do that?
For now, I receive this error when I run my new app on client side:
The model backing the 'ApplicationDbContext' context has changed since the database was created. Consider using Code First Migrations to update the database (http://go.microsoft.com/fwlink/?LinkId=238269).