Unable to update database to match the current model

Unable to update database to match the current model because there are pending changes and automatic migration is disabled. Either write the pending model changes to a code-based migration or enable automatic migration. Set DbMigrationsConfiguration.AutomaticMigrationsEnabled to true to enable automatic migration. You can use the Add-Migration command to write the pending model changes to a code-based migration.

This message results from having unapplied pending migrations to your code first data model (and have disable automatic migrations). ┬áRun “Add-Migration” then “Update-Database” and you should be back up and running.