add unique index to teams table