change database.yml so as to make it compatible with deployment on herkou.