Add SQL upgrade for team_unread table change.
Consistently comment 'Unique ID' for AUTO_INCREMENT primary keys.
Make all SQL teamid's unsigned.
Update team primary key from login to teamid AUTO_INCREMENT.