fix merge problem, create factory, fix controller problem in SO and WRN, setup a testing database

This commit is contained in:
Zain Fauzan Rofie Azizi
2018-05-31 15:59:59 +08:00
17 changed files with 658 additions and 25 deletions
+15
View File
@@ -54,6 +54,21 @@ return [
'engine' => null,
],
'testing' => [
'driver' => 'mysql',
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', '3306'),
'database' => 'testingizyim',
'username' => 'root',
'password' => '',
'unix_socket' => env('DB_SOCKET', ''),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'strict' => true,
'engine' => null,
],
'pgsql' => [
'driver' => 'pgsql',
'host' => env('DB_HOST', '127.0.0.1'),