Skip to content

Commit

Permalink
improve database config
Browse files Browse the repository at this point in the history
  • Loading branch information
kevindees committed Aug 4, 2022
1 parent 283b9aa commit bd01f28
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions config/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
|--------------------------------------------------------------------------
|
| This option defines the default database driver that is used when a query
| or model is instantiated. See the list of connections below for more
| details or add your own to the list. There is one by default.
| or model is instantiated. See the list of drivers below the available
| options. You can add your own to the list.
|
*/
'default' => typerocket_env('TYPEROCKET_DATABASE_DEFAULT', 'wp'),
Expand All @@ -28,10 +28,10 @@

'alt' => [
'driver' => '\TypeRocket\Database\Connectors\CoreDatabaseConnector',
'username' => '',
'password' => '',
'database' => '',
'host' => '',
'username' => typerocket_env('TYPEROCKET_ALT_DATABASE_USER'),
'password' => typerocket_env('TYPEROCKET_ALT_DATABASE_PASSWORD'),
'database' => typerocket_env('TYPEROCKET_ALT_DATABASE_DATABASE'),
'host' => typerocket_env('TYPEROCKET_ALT_DATABASE_HOST'),
],
]
];

0 comments on commit bd01f28

Please sign in to comment.