Laravel migrations change default value of column : <p>I have a table with a default value already assigned. For an example we can look at the following:</p>

<pre><code>Schema::create('users', function (Blueprint $table) {
            $table-&gt;increments('id')-&gt;unsigned();
            $table-&gt;integer('active')-&gt;default(1);
        });
</code></pre>

<p>I now want to change my default value on the active field. I am expecting to do something like this:</p>

<pre><code>if (Schema::hasTable('users')) {
        Schema::table('users', function (Blueprint $table) {
            if (Schema::hasColumn('users', 'active')) {
                $table-&gt;integer('active')-&gt;default(0);
            }
        });
    }
</code></pre>

<p>But of course it tells me the column is already there. How can I simply update the default value of column x without dropping the column?</p>
