-- Deploy gaia:al_tractate_city_hotkeyword to mysql

BEGIN;

CREATE TABLE `al_tractate_city_hotkeyword` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `city_id` varchar(64) DEFAULT NULL,
  `rank` int(11) NOT NULL,
  `tractate_id` int(11) NOT NULL,
  `search_num` int(11) DEFAULT NULL,
  `search_time` varchar(20) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `CITY_RANK` (`city_id`,`rank`),
  KEY `vt` (`search_time`)
) ENGINE=InnoDB AUTO_INCREMENT=396 DEFAULT CHARSET=utf8;

COMMIT;
