title: Laravel migrate - multiple migrations (files) in one go
body: <p>Say, I have multiple migration files updating single table.</p>
  
  <p>e.g. </p>
  
  <pre>
  2016_03_20_072730_create_tasks_table.php
  2016_03_20_075467_create_tasks_table.php
  </pre>
  
  <p>... which came from repo by different team members.
  Each is adjusting something in table, e.g. adding a column.</p>
  
  <p>When I try to: </p>
  
  <pre>php artisan migrate</pre>
  
  <p>I get error:</p>
  
  <pre>
  PHP Fatal error:  Cannot declare class CreateTasksTable, because the name is
  eady in use in U:\www\b10\database\migrations\2016_03_20_072737_create_tasks_
  le.php on line 30
  
  
    [Symfony\Component\Debug\Exception\FatalErrorException]
    Cannot declare class CreateTasksTable, because the name is already in use
  </pre>
  
  <p>How should one deal with situation as described above?</p>
  
  <p>EDIT</p>
  
  <p>Here is the code:</p>
  
  <p>2016_03_20_072730_create_tasks_table.php:</p>
  
  <pre>
  class CreateTasksTable extends Migration
  {
      /**
       * Run the migrations.
       *
       * @return void
       */
      public function up()
      {
         Schema::table('tasks', function ($table)
         {
             $table->string('task1');
         });
      }
  
      /**
       * Reverse the migrations.
       *
       * @return void
       */
      public function down()
      {
          Schema::drop('tasks');
      }
  }
  </pre>
  
  <p>2016_03_20_075467_create_tasks_table.php:</p>
  
  <pre>
  class CreateTasksTable extends Migration
  {
      /**
       * Run the migrations.
       *
       * @return void
       */
      public function up()
      {
      Schema::table('tasks', function ($table)
          {
              $table->string('task2');
          });
      }
  
      /**
       * Reverse the migrations.
       *
       * @return void
       */
      public function down()
      {
          Schema::drop('tasks');
      }
  }
  </pre>