mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
Merge pull request #4982 from DivineOmega/patch-1
[5.8] Prefix redis database connection by default
This commit is contained in:
commit
35374927bd
@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
@ -117,6 +119,7 @@ return [
|
||||
|
||||
'options' => [
|
||||
'cluster' => env('REDIS_CLUSTER', 'predis'),
|
||||
'prefix' => Str::slug(env('APP_NAME', 'laravel'), '_').'_database',
|
||||
],
|
||||
|
||||
'default' => [
|
||||
|
Loading…
x
Reference in New Issue
Block a user