This commit is contained in:
jhx
2022-07-06 15:31:54 +08:00
parent deaef05e01
commit a4c6f6b752
8 changed files with 2505 additions and 17 deletions
+22 -1
View File
@@ -12,4 +12,25 @@
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/
return [];
return [
'default' => 'mysql',
'connections' => [
'mysql' => [
'driver' => 'mysql',
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', '3306'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',
'strict' => true,
'engine' => null,
],
]
];