diff --git a/src/Commands/DatabaseShellCommand.php b/src/Commands/DatabaseShellCommand.php index 6f07b7ac..75a940f7 100644 --- a/src/Commands/DatabaseShellCommand.php +++ b/src/Commands/DatabaseShellCommand.php @@ -77,7 +77,7 @@ protected function findCompatibleJumpBox(array $database) return $jumpBox['network_id'] == $database['network_id']; }); - $jumpBox = in_array($database, ['rds', 'aurora-serverless']) + $jumpBox = in_array($database['type'], ['rds', 'aurora-serverless']) ? $jumpBoxes->first() : $jumpBoxes->firstWhere('version', '>', 1); diff --git a/vapor b/vapor index bb337fd4..88cb790f 100755 --- a/vapor +++ b/vapor @@ -36,7 +36,7 @@ require __DIR__.'/services.php'; /** * Start the console application. */ -$app = new Application('Laravel Vapor', '1.4.0'); +$app = new Application('Laravel Vapor', '1.4.1'); // Authentication... $app->add(new Commands\LoginCommand);