title: Code First Migration ignore DatabaseGeneratedOption?
body: <p>I tried to change a field into a computed field.</p>
  
  <p>That is, from:</p>
  
  <pre><code>        Property(c=&gt;c.IsPaid)
              .IsRequired();
  </code></pre>
  
  <p>into:</p>
  
  <pre><code>        Property(c=&gt;c.IsPaid)
              .HasDatabaseGeneratedOption(DatabaseGeneratedOption.Computed)
              .IsRequired();
  </code></pre>
  
  <p>Then after add migration:</p>
  
  <pre><code>Add-Migration IsPaidAsComputed
  </code></pre>
  
  <p>Scaffolding migration gave me a migration class:</p>
  
  <pre><code>public partial class IsPaidAsComputed : DbMigration
  {
      public override void Up()
      {
          AlterColumn("dbo.Citations", "IsPaid", c =&gt; c.Boolean(nullable: false));
      }
  
      public override void Down()
      {
          AlterColumn("dbo.Citations", "IsPaid", c =&gt; c.Boolean(nullable: false));
      }
  }
  </code></pre>
  
  <p>Is Entity Framework not smart enough to detect what our intentioned change is?</p>
  
  <p>What is the correct way to <code>AlterColumn</code> into a computed field?</p>