Manage database.yml file