EF6 Oracle default value for a column in code first migration
<p>I am trying to write a migration that sets <strong>Default Value</strong> for a NUMBER column in my <strong>Oracle</strong> database using <strong>EntityFramework 6</strong>. Here is my first try that didn't set the default value:</p>

<pre><code>    public override void Up()
    {
        AddColumn("MTA.PLAN_SHEETS", "QUANTITY_CHANGED", c =&gt; c.Decimal(nullable: true, precision: 3, scale: 0, defaultValueSql: "1"));
    }
</code></pre>

<p>I also tried to use <code>defaultValue</code> instead of <code>defaultValueSql</code> and again it didn't set the default value for the column.<br>
Is there anything wrong with my migration code?</p>