Skip to content

Commit

Permalink
use env value instead of config value
Browse files Browse the repository at this point in the history
  • Loading branch information
Boy132 committed Jun 6, 2024
1 parent 3010e3d commit d245751
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function handle(): int
} elseif ($this->variables['DB_CONNECTION'] === 'sqlite') {
$this->variables['DB_DATABASE'] = $this->option('database') ?? $this->ask(
'Database Path',
config('database.connections.sqlite.database', 'database.sqlite')
env('DB_DATABASE', 'database.sqlite')
);
}

Expand Down

0 comments on commit d245751

Please sign in to comment.