Skip to content

Commit cfdb381

Browse files
committed
fix: add database connection configuration for nativephp queue
1 parent fcaa588 commit cfdb381

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/NativeServiceProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ public function rewriteDatabase()
174174
config(['database.default' => 'nativephp']);
175175
config(['queue.failed.database' => 'nativephp']);
176176
config(['queue.batching.database' => 'nativephp']);
177+
config(['queue.connections.database.connection' => 'nativephp']);
177178

178179
if (file_exists($databasePath)) {
179180
DB::statement('PRAGMA journal_mode=WAL;');

0 commit comments

Comments
 (0)