-- Deploy gaia:2019_6_18_person_search_hot_words to mysql

BEGIN;

CREATE TABLE `api_hot_search_words` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `keywords` varchar(128) NOT NULL DEFAULT '',
  `create_time` datetime NOT NULL,
  `is_delete` tinyint(1) NOT NULL DEFAULT '0',
  `sorted` int(11) NOT NULL DEFAULT '0',
  `update_time` datetime NOT NULL,
  `alias_name` varchar(128) DEFAULT NULL,
  `gm_url` varchar(128) DEFAULT NULL,
  `extract_config` varchar(400) DEFAULT '',
  `jump_type` int(3) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

COMMIT;
