   `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
   PRIMARY KEY (`id`),
   UNIQUE KEY `uniq_obj_uid` (`objid`,`objtype`,`uid`),
-  INDEX `idx_uid` (`uid`)
+  KEY `idx_uid` (`uid`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT '用户浏览记录表';
 
 CREATE TABLE `view_source` (

  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uniq_user_type` (`username`,`type`),
  INDEX idx_uid (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT '第三方绑定表';

CREATE TABLE IF NOT EXISTS `user_info` (

  `state` tinyint unsigned NOT NULL DEFAULT 0 COMMENT '0-opened；1-closed',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY (`label`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT 'GCTT github 选题 issue 列表';


