From 3385ec3f7859dfe949807dd4c48c07c05b64e355 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Mon, 2 May 2016 10:35:42 +0100 Subject: [PATCH] Updated database config to be codeship compatible --- config/database.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/database.php b/config/database.php index e4d6880c7..832852dc2 100644 --- a/config/database.php +++ b/config/database.php @@ -84,8 +84,8 @@ return [ 'driver' => 'mysql', 'host' => 'localhost', 'database' => 'bookstack-test', - 'username' => 'bookstack-test', - 'password' => 'bookstack-test', + 'username' => env('MYSQL_USER', 'bookstack-test'), + 'password' => env('MYSQL_PASSWORD', 'bookstack-test'), 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '',