title: Check If a Column Exists in Laravel Migration File
body: <p>Already I have a table name <code>table_one.</code> Now I want to add two more columns to it. Everything works fine so far. But in my method, I want to check a column exists or not in my table like <code>dropIfExists('table').</code></p>
  
  <pre><code>/**
   * Run the migrations.
   *
   * @return void
   */
  public function up()
  {
      Schema::table('table_one', function (Blueprint $table) {
          $table-&gt;string('column_one')-&gt;nullable();
          $table-&gt;string('column_two')-&gt;nullable();
      });
  }
  
  /**
   * Reverse the migrations.
   *
   * @return void
   */
  public function down()
  {
      Schema::table('table_one', function (Blueprint $table) {
          // in here i want to check column_one and column_two exists or not
          $table-&gt;dropColumn('column_one');
          $table-&gt;dropColumn('column_two');
      });
  }
  </code></pre>