From 5c16c2181714ca1562b29a20c66684ee9bb21e7c Mon Sep 17 00:00:00 2001 From: Marcelo Canina Date: Mon, 25 May 2015 15:46:57 -0300 Subject: [PATCH] Add env variable to database default connection --- config/database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/database.php b/config/database.php index 846e426c..ea57ddca 100644 --- a/config/database.php +++ b/config/database.php @@ -26,7 +26,7 @@ | */ - 'default' => 'mysql', + 'default' => env('DB_CONNECTION','mysql'), /* |--------------------------------------------------------------------------