Every railroad company which has railroad tracks which run through the city, or any portion thereof, shall be required to erect, place or construct such barricades or other warning devices as shall be required by the board of aldermen at all crossings of such tracks with the streets.
('80 Code, § 26-4)