ALTER TABLE `we_auth`.`user` 
ADD COLUMN `idTeamClient` INT(11) NULL DEFAULT NULL AFTER `bSuperadmin`,
ADD INDEX `idTeamClient_idx1` (`idTeamClient` ASC);
ALTER TABLE `we_auth`.`user` 
ADD CONSTRAINT `idTeam_fk1`
  FOREIGN KEY (`idTeamClient`)
  REFERENCES `we_auth`.`team` (`idTeam`)
  ON DELETE NO ACTION
  ON UPDATE NO ACTION;
