laravel/framework — pull request #4233 by crynobone (2014-04-23 02:10:36+00:00)
Title: Add DB::getConnectionDriverName() from DatabaseManager.

This change should allow the following:

```php
Schema::create('users', function ($table) {
$table->increments('id');

// some fields.

if (DB::getConnectionDriverName() === 'mysql') {
$table->engine = 'innodb';
}
});
```

Signed-off-by: crynobone