use env value instead of config value
This commit is contained in:
parent
3010e3d61e
commit
d245751c97
@ -98,7 +98,7 @@ class DatabaseSettingsCommand extends Command
|
|||||||
} elseif ($this->variables['DB_CONNECTION'] === 'sqlite') {
|
} elseif ($this->variables['DB_CONNECTION'] === 'sqlite') {
|
||||||
$this->variables['DB_DATABASE'] = $this->option('database') ?? $this->ask(
|
$this->variables['DB_DATABASE'] = $this->option('database') ?? $this->ask(
|
||||||
'Database Path',
|
'Database Path',
|
||||||
config('database.connections.sqlite.database', 'database.sqlite')
|
env('DB_DATABASE', 'database.sqlite')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user