Skip to content

Commit 228a3bd

Browse files
committed
fix: forgot to change database argument to --server option
1 parent 7359390 commit 228a3bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Command/Project/InitializeProjectCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ private function addEnvironmentDatabaseNodes(Collection $environments, OutputInt
181181
return;
182182
}
183183

184-
$this->invoke((new NullOutput()), CreateDatabaseCommand::NAME, ['database' => Arr::get($options, 'database.server'), 'name' => Arr::get($options, 'database.name')]);
184+
$this->invoke((new NullOutput()), CreateDatabaseCommand::NAME, ['name' => Arr::get($options, 'database.name'), '--server' => Arr::get($options, 'database.server')]);
185185
})->map(function (array $options) {
186186
if (empty($options)) {
187187
$options = null;

0 commit comments

Comments
 (0)