Transitioning from bat to baseball...(sorry, Chris)

The Kansas City Royals recently broke a 19 game losing streak. What is the record for the most consecutive losses by a major league baseball team?