title: Entity Framework Migrations not Detecting Model Change
body: <p>I'm trying to start using EF Migrations with an existing database.</p>
  
  <p>The startup project is an MVC 3 project and the domain objects are in a separate project of the same solution.</p>
  
  <p>Here are the steps I took:</p>
  
  <blockquote>
    <p>Add-Migration InitialMigration -IgnoreChanges -Verbose  </p>
  </blockquote>
  
  <p>Created Configuration.cs and ###_InitialMigration.cs.  Had to edit Configuration.cs to add the name of my context object as it is in a separate project.</p>
  
  <blockquote>
    <p>Update-Database</p>
  </blockquote>
  
  <p>Added dbo.__MigrationHistory to my database</p>
  
  <blockquote>
    <p>Added a new property to an existing class</p>
  </blockquote>
  
  <pre><code>private ulong? myProp;
  [DataMember]
  public ulong? MyProp
  {
      get { return myProp; }
      set
      {
          if (myProp != value)
          {
              myProp = value;
              RaisePropertyChanged(() =&gt; this.MyProp);
          }
      }
  }
  </code></pre>
  
  <p>Successfully compiled the solution.</p>
  
  <blockquote>
    <p>Add-Migration MyNewMigration</p>
  </blockquote>
  
  <p>Created ###_MyNewMigration.cs, with no migrations in it:</p>
  
  <pre><code>public partial class MyNewMigration : DbMigration
  {
      public override void Up()
      {
      }
  
      public override void Down()
      {
      }
  }
  </code></pre>
  
  <p><em>Not looking good... where are the migrations?</em></p>
  
  <blockquote>
    <p>Update-Database -Verbose -Script</p>
  </blockquote>
  
  <p><em>No mention of the new property in the upgrade script</em></p>
  
  <blockquote>
    <p>INSERT INTO [__MigrationHistory] ([MigrationId], [CreatedOn], [Model], [ProductVersion])
    VALUES ('201206122137444_MyNewMigration', '2012-06-12T22:07:49.170Z', 0x1F8B080YadaYada, '4.3.1')</p>
  </blockquote>
  
  <p>How can I get EF Migrations to pick up the model change?</p>