#30 #19 change PDO mode and the seeder from yaml to a service for mass importing

This commit is contained in:
Nabeel Shahzad
2017-06-24 12:59:07 -05:00
parent 3736e530bf
commit 2aa7cc66d5
5 changed files with 41 additions and 90 deletions

View File

@@ -2,18 +2,7 @@
return [
/*
|--------------------------------------------------------------------------
| PDO Fetch Style
|--------------------------------------------------------------------------
|
| By default, database results will be returned as instances of the PHP
| stdClass object; however, you may desire to retrieve records in an
| array format for simplicity. Here you can tweak the fetch style.
|
*/
'fetch' => PDO::FETCH_OBJ,
'fetch' => PDO::FETCH_ASSOC,
'default' => env('DB_CONNECTION', 'local'),
'connections' => [