We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 141e223 commit b68ebdfCopy full SHA for b68ebdf
src/Illuminate/Database/Schema/PostgresSchemaState.php
@@ -70,8 +70,10 @@ protected function baseDumpCommand()
70
*/
71
protected function baseVariables(array $config)
72
{
73
+ $config['host'] = $config['host'] ?? '';
74
+
75
return [
- 'LARAVEL_LOAD_HOST' => $config['host'],
76
+ 'LARAVEL_LOAD_HOST' => is_array($config['host']) ? $config['host'][0] : $config['host'],
77
'LARAVEL_LOAD_PORT' => $config['port'],
78
'LARAVEL_LOAD_USER' => $config['username'],
79
'LARAVEL_LOAD_PASSWORD' => $config['password'],
0 commit comments