diff --git a/config/database.php b/config/database.php index 7116258..c7f6264 100644 --- a/config/database.php +++ b/config/database.php @@ -119,22 +119,6 @@ return [ ], ], - 'jobs' => [ - 'driver' => 'pgsql', - 'host' => env('DB_JOBS_HOST', '127.0.0.1'), - 'port' => env('DB_JOBS_PORT', '5432'), - 'database' => env('DB_JOBS_DATABASE', 'forge'), - 'username' => env('DB_JOBS_USERNAME', 'forge'), - 'password' => env('DB_JOBS_PASSWORD', ''), - 'charset' => 'utf8', - 'prefix' => '', - 'prefix_indexes' => true, - 'schema' => 'public', - 'sslmode' => 'disable', //depends on your security level https://www.postgresql.org/docs/current/libpq-ssl.html#LIBPQ-SSL-SSLMODE-STATEMENTS - 'sslrootcert' => env('DB_JOBS_SSLROOTCERT', 'config/ssl/ca.crt'), - 'sslcert' => env('DB_JOBS_SSLCERT', 'config/ssl/client.crt'), - 'sslkey' => env('DB_JOBS_SSLKEY', 'config/ssl/client.key'), - ], ], /* diff --git a/config/queue.php b/config/queue.php index ffb1b6b..1d2b807 100644 --- a/config/queue.php +++ b/config/queue.php @@ -35,7 +35,7 @@ return [ ], 'database' => [ - 'connection' => 'jobs', + //'connection' => 'jobs', 'driver' => 'database', 'table' => 'jobs', 'queue' => 'default', @@ -81,7 +81,7 @@ return [ 'failed' => [ 'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'), - 'database' => env('DB_JOBS_CONNECTION', 'jobs'), + 'database' => env('DB_CONNECTION', 'pgsql'), 'table' => 'failed_jobs', ],