mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-27 08:18:24 +03:00
Ensure no DB driver config falls back to SQLite
This commit is contained in:
parent
9b75e076b5
commit
92e831175f
1 changed files with 2 additions and 2 deletions
|
@ -21,8 +21,8 @@ return (static function (): array {
|
|||
'mssql' => '1433',
|
||||
default => '3306',
|
||||
};
|
||||
$resolveConnection = static fn () => match ($driver) {
|
||||
'sqlite' => [
|
||||
$resolveConnection = static fn () => match (true) {
|
||||
$driver === null || $driver === 'sqlite' => [
|
||||
'driver' => 'pdo_sqlite',
|
||||
'path' => 'data/database.sqlite',
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue