diff --git a/app/Config/Database.php b/app/Config/Database.php index c57d2e0..9d6dca6 100644 --- a/app/Config/Database.php +++ b/app/Config/Database.php @@ -244,5 +244,9 @@ class Database extends Config if (ENVIRONMENT === 'testing') { $this->defaultGroup = 'tests'; } + + if(ENVIRONMENT == 'production'){ + $this->defaultGroup ='production'; + } } }