Laravel :: Best way to update a foreign key
<p>I have this migration file</p>

<pre><code>Schema::create('table_one', function(Blueprint $table) 
{ 
    $table-&gt;increments('id'); 
    $table-&gt;string('name'); 
    $table-&gt;integer('table_two_id')-&gt;unsigned(); 
    $table-&gt;foreign('table_two_id')-&gt;references('id')-&gt;on('table_two'); 
    $table-&gt;timestamps(); 
});
</code></pre>

<p>and I want to update to make it <strong>->onDelete('cascade');</strong></p>

<pre><code>$table-&gt;foreign('table_two_id')-&gt;references('id')-&gt;on('table_two')-&gt;onDelete('cascade');
</code></pre>

<p>What is the best way to do this?</p>

<p>Is there something like <strong>->change();</strong></p>

<p>Thanks</p>