Skip to content

Commit 6ee563d

Browse files
committed
Change to hyphenate prefixes
1 parent fa6f6e7 commit 6ee563d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/cache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,6 @@
103103
|
104104
*/
105105

106-
'prefix' => env('CACHE_PREFIX', Str::slug((string) env('APP_NAME', 'laravel'), '_').'_cache_'),
106+
'prefix' => env('CACHE_PREFIX', Str::slug((string) env('APP_NAME', 'laravel')).'-cache-'),
107107

108108
];

config/database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148

149149
'options' => [
150150
'cluster' => env('REDIS_CLUSTER', 'redis'),
151-
'prefix' => env('REDIS_PREFIX', Str::slug((string) env('APP_NAME', 'laravel'), '_').'_database_'),
151+
'prefix' => env('REDIS_PREFIX', Str::slug((string) env('APP_NAME', 'laravel')).'-database-'),
152152
'persistent' => env('REDIS_PERSISTENT', false),
153153
],
154154

0 commit comments

Comments
 (0)