diff --git a/config/database.php b/config/database.php index 49ec59af..7560c66b 100644 --- a/config/database.php +++ b/config/database.php @@ -117,6 +117,7 @@ return [ 'options' => [ 'cluster' => env('REDIS_CLUSTER', 'predis'), + 'prefix' => str_slug(env('APP_NAME', 'laravel'), '_').'_database', ], 'default' => [