.gitignore should be app/config/database.php