The City Council voted 6 to 1 to approve the measure.