replace db check in MakeUserCommand

This commit is contained in:
Boy132 2024-06-04 08:33:54 +02:00
parent 33f10cbcb9
commit 29cc92f0dc

View File

@ -30,7 +30,7 @@ class MakeUserCommand extends Command
public function handle(): int public function handle(): int
{ {
try { try {
DB::select('select 1 where 1'); DB::connection()->getPdo();
} catch (Exception $exception) { } catch (Exception $exception) {
$this->error($exception->getMessage()); $this->error($exception->getMessage());