Renames leagueid to league_id for ease of setting up associations.