Alias API

This commit is contained in:
2021-04-13 23:03:39 -04:00
parent f9a00578f4
commit 3b20fbd66f
5 changed files with 224 additions and 6 deletions

View File

@ -21,11 +21,11 @@ return
],
'development' => [
'adapter' => 'mysql',
'host' => $_ENV['DB_HOST'],
'name' => $_ENV['DB_NAME'],
'user' => $_ENV['DB_USER'],
'pass' => $_ENV['DB_PASSWORD'],
'port' => '3306',
'host' => $_ENV['DB_HOST'] ?? 'localhost',
'name' => $_ENV['DB_NAME'] ?? 'money_dev',
'user' => $_ENV['DB_USER'] ?? 'money',
'pass' => $_ENV['DB_PASSWORD'] ?? 'money_pass',
'port' => '3307',
'charset' => 'utf8',
],
'testing' => [