From 7f0a3d8b1344632139186f54dc519723c261bfc6 Mon Sep 17 00:00:00 2001 From: Dominik Hebeler <dominik@suma-ev.de> Date: Wed, 27 Feb 2019 11:11:46 +0100 Subject: [PATCH] Changed database for failed jobs --- config/database.php | 2 +- config/queue.php | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/database.php b/config/database.php index cfa1f15ee..891fb9238 100644 --- a/config/database.php +++ b/config/database.php @@ -48,7 +48,7 @@ return [ 'sqlite' => [ 'driver' => 'sqlite', - 'database' => database_path(env('DB_DATABASE', 'database.sqlite')), + 'database' => database_path(env('SQLITE_DATABASE', 'database.sqlite')), 'prefix' => '', ], diff --git a/config/queue.php b/config/queue.php index d3bc74f4c..81de65eda 100644 --- a/config/queue.php +++ b/config/queue.php @@ -9,7 +9,7 @@ return [ | API, giving you convenient access to each back-end using the same | syntax for every one. Here you may define a default connection. | - */ + */ 'default' => env('QUEUE_CONNECTION', 'sync'), /* |-------------------------------------------------------------------------- @@ -22,7 +22,7 @@ return [ | | Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null" | - */ + */ 'connections' => [ 'sync' => [ 'driver' => 'sync', @@ -64,9 +64,9 @@ return [ | can control which database and table are used to store the jobs that | have failed. You may change them to any database / table you wish. | - */ + */ 'failed' => [ - 'database' => env('DB_CONNECTION', 'mysql'), + 'database' => 'sqlite', 'table' => 'failed_jobs', ], -]; \ No newline at end of file +]; -- GitLab