title: Drop Unique Index Laravel
body: <p>I kept getting this while run <code>php artisan migrate</code></p>
  
  <blockquote>
    <p>SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP 'email'; check that column/key exists</p>
  </blockquote>
  
  <p>While I see that email is exist on my database. </p>
  
  <p><a href="https://i.stack.imgur.com/5GnCy.png" rel="noreferrer"><img src="https://i.stack.imgur.com/5GnCy.png" alt="enter image description here"></a></p>
  
  <hr>
  
  <p>My migration script. I was trying to drop the unique constraint.</p>
  
  <pre><code>&lt;?php
  
  use Illuminate\Database\Schema\Blueprint;
  use Illuminate\Database\Migrations\Migration;
  
  class AlterGuestsTable3 extends Migration {
  
      /**
       * Run the migrations.
       *
       * @return void
       */
      public function up()
      {
          Schema::table('guests', function(Blueprint $table)
          {
              $table-&gt;dropUnique('email');
  
          });
  
      }
  
      /**
       * Reverse the migrations.
       *
       * @return void
       */
      public function down()
      {
          Schema::table('guests', function(Blueprint $table)
          {
  
              $table-&gt;dropUnique('email');
  
          });
      }
  
  }
  </code></pre>
  
  <p>Did I forget to clear any caches ? </p>
  
  <p>Any hints for me ? </p>