No person shall leave any well, hole or pit in the ground uncovered or insecurely covered on any unenclosed premises in this city, or leave such well, pit or hole in the ground in such condition as to be dangerous to any persons or domestic animals.