   `idAuth` bigint(20) NOT NULL,
   `authStr` varchar(100) NOT NULL,
   PRIMARY KEY (`ID`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;+) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
+
+CREATE TABLE IF NOT EXISTS `user_badges` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `idUser` int(11) NOT NULL,
+  `sBadge` varchar(63) NOT NULL,
+  PRIMARY KEY (`id`),
+  KEY `ix_user_badges_idUser` (`idUser`) USING BTREE
+) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
  `ID` bigint(20) NOT NULL AUTO_INCREMENT,
  `public_key` varchar(500) NOT NULL,
  `name` varchar(50) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

CREATE TABLE IF NOT EXISTS `users_auths` (
  `ID` bigint(20) NOT NULL AUTO_INCREMENT,

CREATE TABLE IF NOT EXISTS `users` (
  `id` int(11) NOT NULL,
  `idUserGodfather` int(11) DEFAULT NULL,
  `sOpenIdIdentity` varchar(255) DEFAULT NULL COMMENT 'User''s Open Id Identity',
  `sLogin` varchar(100) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
