Skip to content

A free open source IT asset/license management system

feat(config): add REDIS_DATABASE support

fe80f52b17cca6af
diff --git a/config/database.php b/config/database.php
index bb62cf0d3a..1b4feeca93 100755
--- a/config/database.php
+++ b/config/database.php
@@ -155,7 +155,7 @@ return [
'host' => env('REDIS_HOST', 'localhost'),
'password' => env('REDIS_PASSWORD', null),
'port' => env('REDIS_PORT', 6379),
- 'database' => 0,
+ 'database' => env('REDIS_DATABASE', 0),
],
],