8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b2aa37 commit fd5860aCopy full SHA for fd5860a
src/NativeServiceProvider.php
@@ -4,6 +4,7 @@
4
5
use Illuminate\Console\Application as Artisan;
6
use Illuminate\Support\Arr;
7
+use Illuminate\Support\Facades\DB;
8
use Native\Laravel\Commands\FreshCommand;
9
use Native\Laravel\Commands\LoadPHPConfigurationCommand;
10
use Native\Laravel\Commands\LoadStartupConfigurationCommand;
@@ -122,6 +123,9 @@ public function rewriteDatabase()
122
123
]]);
124
125
config(['database.default' => 'nativephp']);
126
+
127
+ DB::statement('PRAGMA journal_mode=WAL;');
128
+ DB::statement('PRAGMA busy_timeout=5000;');
129
}
130
131
public function removeDatabase()
0 commit comments