title: How to write a migrate to undo the unique constraint in Laravel?
body: <p>I would do this to make my email field <code>unique</code> in the table. </p>
  
  <p><code>$table-&gt;unique('email');</code></p>
  
  <p>I've tried</p>
  
  <pre><code>public function up()
  {
      Schema::table('contacts', function(Blueprint $table)
      {
          $table-&gt;dropUnique('email');
      });
  }
  </code></pre>
  
  <p>Then, when I run php artisan migrate, I got this </p>
  
  <p><img src="https://i.stack.imgur.com/jYVmw.png" alt="enter image description here"></p>
  
  <p>It tell me that it's not there, but I'm 100% sure that it's there.</p>
  
  <p><img src="https://i.stack.imgur.com/hDmrI.png" alt="enter image description here"></p>
  
  <p>How do write a migration to undo that ?</p>