Skip to content

Commit

Permalink
Merge remote-tracking branch 'pelican-dev/issue/311' into issue/311
Browse files Browse the repository at this point in the history
  • Loading branch information
parkervcp committed Sep 26, 2024
2 parents 6f15537 + 3acaf3d commit f6609b1
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 51 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@
},
"minimum-stability": "stable",
"prefer-stable": true
}
}
98 changes: 49 additions & 49 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion config/database.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

$databasePath = env('DB_DATABASE', 'database.sqlite');

return [

'default' => env('DB_CONNECTION', 'sqlite'),
Expand All @@ -8,7 +10,7 @@
'sqlite' => [
'driver' => 'sqlite',
'url' => env('DB_URL'),
'database' => database_path(env('DB_DATABASE', 'database.sqlite')),
'database' => str_starts_with($databasePath, '/') ? $databasePath : database_path($databasePath),
'prefix' => '',
'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true),
],
Expand Down

0 comments on commit f6609b1

Please sign in to comment.