title: EF Data migrations won't detect changes when adding new migration
body: <p>I am using Entity Framework 5.0 Data migrations along with code first.
  When i add a new field to my model and execute the following command in the package manager console.</p>
  
  <pre><code> "Add-migration AddedField"
  </code></pre>
  
  <p>All I get is an empty migration called "n_AddedField", the up and down methods contain no logic.</p>
  
  <p>I tried a bunch of things, reinstalling the EF nuget package, cleaning my solution, rebuilding, manually removing all generated files and directories.</p>
  
  <p>Then i decided that i would scrap all my migrations and start over, and then it got weird.
  After deleting all my migrations, and the migrationhistory table in the database, i recreated the database using the CreateDatabaseIfNotExists initializer. After doing this, I should be able to create a new initial migration. But when i try to create create a new migration, I get an error saying that there are pending migrations, and lists all the migrations that i just deleted from my project.</p>
  
  <p>I have no idea why and how EF still has any recollection of those migrations.
  I even tried searching through filecontents looking if the migrations were saved somewhere else or something. But nothing..</p>
  
  <p>Data migrations look really neat when scott hansleman demo's it on stage, but for real work, I'm starting to look for alternatives.</p>
  
  <p>When the project started, we were using EF 4.x and a while back switcted to 5.0, but since the switch i have added a bunch of migrations successfully.</p>
  
  <p>Does anyone have any idea how to solve this problem?
  Basically i just want to be able to add migrations, and generate a sql script with the changes.</p>