Using Laravel migration to rename existing column and then run php artisan migrate:refresh successfully
<p>I've successfully renamed an existing column previously created in a different migration with the following line of code:</p>

<pre><code>$table-&gt;renameColumn('custom_paper_note', 'custom_primary_paper_note');
</code></pre>

<p>However, now when I run <code>php artisan migrate:refresh</code> I get the following errors:</p>

<pre><code>[Illuminate\Database\QueryException]
  SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP 'custom_paper_note'; check that column/key exists (SQL: alter table `line_items` drop `custom_paper_note`)
</code></pre>

<p>and</p>

<pre><code>[PDOException]
  SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP 'custom_paper_note'; check that column/key exists
</code></pre>

<p>which all makes good sense to me because I renamed the column and now it can't drop it during the migrate:refresh process.  However, I don't understand how to go about fixing this error?  </p>

<p>Thanks for your help.  </p>