Trams from database