post reduce duplication in database.yml