Update DB2ServiceProvider.php
Create config name entry from connection name
This commit is contained in:
parent
3ea1576fb0
commit
0b60681a6b
@ -60,7 +60,8 @@ class DB2ServiceProvider extends ServiceProvider
|
||||
}
|
||||
|
||||
// Create a connector
|
||||
$this->app['db']->extend($conn, function($config) {
|
||||
$this->app['db']->extend($conn, function($config, $name) {
|
||||
$config['name'] = $name;
|
||||
switch ($config['driver']) {
|
||||
case 'db2_expressc_odbc':
|
||||
case 'db2_ibmi_odbc':
|
||||
|
Loading…
Reference in New Issue
Block a user