title: Laravel 4 - Using renameColumn in controller
body: <p>I want to use artisan migration within my controller, like this</p>
  
  <pre><code>echo '&lt;br&gt;init migrate:install...';
  Artisan::call('migrate');
  echo 'done migrate:install';
  </code></pre>
  
  <p>It works fine for all my table creations and etc. But there are problems when I try to use $table->renameColumn</p>
  
  <p>Laravel doc said I need to include doctrine/dbal, but how? I have tried <code>use Doctrine\DBAL\Driver\PDOMySql\Driver;</code> but no luck.</p>
  
  <p>FYI i cannot use CLI, my host doesn't provide any CLI to me.</p>
  
  <p><strong>Here is my error</strong></p>
  
  <pre><code>Symfony \ Component \ Debug \ Exception \ FatalErrorException
  Class 'Doctrine\DBAL\Driver\PDOMySql\Driver' not found
  </code></pre>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Same error when using terminal to migrate</p>
  
  <p><strong>SECOND UPDATE</strong></p>
  
  <p>An Example of migration code at app/database/migrations</p>
  
  <pre><code>use Illuminate\Database\Migrations\Migration;
  
  class UpdatePostsTable extends Migration {
  
      /**
       * Run the migrations.
       *
       * @return void
       */
      public function up()
      {
          Schema::table('user', function($table)
          {
              $table-&gt;renameColumn('fullname', 'full_name');
          });
      }
  }
  </code></pre>