write config/database.yml for CI