Laravel Migrations change/update
<p>How do I properly change / update my migration, I am using Laravel 5.1.</p>

<p>The Docs said that I should use change to update the column e.g.:</p>

<pre><code>$table-&gt;string('color', 10)-&gt;change();
</code></pre>

<p>But where do I have to put it in the migration and what command do I have to use to update just a simply php artisan migrate?</p>

<p>I tried this so far:</p>

<pre><code>public function up()
{
   Schema::create('products', function (Blueprint $table)) {
        $table-&gt;string('color', 5);
   });

   Schema::table('products', function (Blueprint $table)) {
        $table-&gt;string('color', 10)-&gt;change();
   });
}
</code></pre>

<p>And used this command:</p>

<pre><code>php artisan migrate
</code></pre>

<p>But it did not change.</p>