From 39072d072cc26c2866af276247c1cde125bcd7e4 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Sun, 7 Sep 2025 17:40:40 -0500 Subject: [PATCH] move some items into pragmas --- config/database.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/config/database.php b/config/database.php index 53dcae02..14aadc3b 100644 --- a/config/database.php +++ b/config/database.php @@ -37,10 +37,12 @@ return [ 'database' => env('DB_DATABASE', database_path('database.sqlite')), 'prefix' => '', 'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true), - 'busy_timeout' => null, - 'journal_mode' => null, - 'synchronous' => null, - 'transaction_mode' => 'DEFERRED', + 'pragmas' => [ + 'busy_timeout' => null, + 'journal_mode' => null, + 'synchronous' => null, + 'transaction_mode' => 'DEFERRED', + ], ], 'mysql' => [