-- Table structure for iweb_hyperseek_temp_new
-- ----------------------------
CREATE TABLE `iweb_hyperseek_temp_new`  (
  `id` int NOT NULL DEFAULT 0,
  `val_level` smallint NOT NULL DEFAULT 1,
  `submission_type` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'NEW',
  `submitted_by` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `category` int NULL DEFAULT NULL,
  `extra_link` varchar(120) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `rank` decimal(15, 5) NOT NULL DEFAULT 0.00000,
  `qualifier` varchar(120) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `email` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `title` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `url` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `description` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  `keywords` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  `desc_image` varchar(120) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `title_tag` varchar(120) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `site_icon` varchar(120) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `name` varchar(75) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `address` varchar(75) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `city` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `state` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `zip` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `country` varchar(30) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `phone` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fax` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `startdate` varchar(11) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `enddate` varchar(11) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(7, 2) NULL DEFAULT NULL,
  `account` varchar(30) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `xfactor` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `hits` int NULL DEFAULT NULL,
  `top_votes` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `rate_votes` int NULL DEFAULT NULL,
  `rate_score` int NULL DEFAULT NULL,
  `av_links` int NULL DEFAULT NULL,
  `last_status` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT 'Live',
  `is_adult` int NULL DEFAULT NULL,
  `field1` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `field2` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `field3` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `field4` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `field5` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `field6` int NULL DEFAULT NULL,
  `field7` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `field8` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `field9` decimal(7, 2) NULL DEFAULT NULL,
  `field10` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `transprice` decimal(9, 2) NOT NULL DEFAULT 0.00,
  `session` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `trans_id` int NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `orderid`(`field6`) USING BTREE,
  INDEX `hsl_email`(`email`) USING BTREE,
  INDEX `hsl_url`(`url`) USING BTREE,
  INDEX `hsl_acct1`(`account`) USING BTREE,
  INDEX `hsl_pos1`(`rank`) USING BTREE,
  INDEX `trans_id`(`trans_id`) USING BTREE,
  FULLTEXT INDEX `hs_ft`(`title`, `description`, `keywords`)
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_hyperseek_temp_yp_listing
-- ----------------------------
CREATE TABLE `iweb_hyperseek_temp_yp_listing`  (
  `id` int NOT NULL AUTO_INCREMENT,
  `submission_type` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'NEW' COMMENT 'NEW, UPDATE, EDITING, LIVE, DECLINED',
  `update_count` int NOT NULL,
  `submitted_by` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL COMMENT 'User ID who submitted the listing',
  `acct_key_fk` int NOT NULL COMMENT 'Account number from WWBN',
  `instance_idfk` int NOT NULL DEFAULT 10008,
  `category` varchar(256) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `extra_link` varchar(120) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `rank` decimal(15, 5) NOT NULL DEFAULT 0.00000,
  `qualifier` varchar(120) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `email` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `title` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `url` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `description` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  `keywords` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  `desc_image` varchar(120) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `title_tag` varchar(120) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `site_icon` varchar(120) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `payment_methods` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `open_hours` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  `about` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `name` varchar(75) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `address` varchar(75) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `city` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `state` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `zip` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `country` varchar(30) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `longitude` varchar(256) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `latitude` varchar(256) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `phone` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fax` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `startdate` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `enddate` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(7, 2) NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL COMMENT 'Domain name from iweb_accounts table',
  `xfactor` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `hits` int NULL DEFAULT NULL,
  `top_votes` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `rate_votes` int NULL DEFAULT NULL,
  `rate_score` int NULL DEFAULT NULL,
  `av_links` int NULL DEFAULT NULL,
  `last_status` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `is_adult` int NULL DEFAULT NULL,
  `enable_ratings` tinyint NOT NULL DEFAULT 0,
  `enable_comments` tinyint NOT NULL DEFAULT 0,
  `enable_streetview` tinyint NOT NULL DEFAULT 0,
  `enable_map` tinyint NOT NULL DEFAULT 0,
  `start_date` date NULL DEFAULT NULL,
  `end_date` date NULL DEFAULT NULL,
  `enable_hours` tinyint NOT NULL DEFAULT 0,
  `enable_votes` tinyint NOT NULL DEFAULT 0,
  `enable_reviews` tinyint NOT NULL DEFAULT 0,
  `videoid` int NOT NULL,
  `field1` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `field2` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `field3` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `field4` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `field5` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `field6` int NULL DEFAULT NULL,
  `field7` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `field8` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `field9` decimal(7, 2) NULL DEFAULT NULL,
  `field10` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ibeacon_radius` int NOT NULL,
  `radius_type` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `tsadded` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `admin_comments` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL,
  `status` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `default_cfa` tinyint NULL DEFAULT NULL COMMENT '0 = URL, 1 = extra_url, 2 = email, 3 = phone',
  `full_address` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL COMMENT 'full address',
  `order_id` int NULL DEFAULT NULL COMMENT 'from payment_listing.id',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `hsl_email`(`email`) USING BTREE,
  INDEX `hsl_url`(`url`) USING BTREE,
  INDEX `hsl_acct1`(`account`) USING BTREE,
  INDEX `hsl_pos1`(`rank`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_internal_templates
-- ----------------------------
CREATE TABLE `iweb_internal_templates`  (
  `theme` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `program` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `template_type` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `template_name` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `template_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`theme`, `program`, `template_type`, `template_name`) USING BTREE,
  INDEX `dsit1`(`theme`, `program`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_internal_templates_bak
-- ----------------------------
CREATE TABLE `iweb_internal_templates_bak`  (
  `theme` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `program` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `template_type` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `template_name` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `template_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  INDEX `dsit1`(`theme`, `program`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_201402
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_201402`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_201403
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_201403`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_201603
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_201603`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_201604
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_201604`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_201605
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_201605`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_201606
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_201606`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_201607
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_201607`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_201608
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_201608`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_201609
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_201609`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_201610
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_201610`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_201611
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_201611`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_201612
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_201612`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_201701
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_201701`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_201702
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_201702`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_201703
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_201703`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_201704
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_201704`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_201705
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_201705`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_201706
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_201706`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_201709
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_201709`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_201807
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_201807`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_201808
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_201808`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_201809
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_201809`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_201811
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_201811`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_201909
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_201909`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202203
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202203`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202204
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202204`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202205
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202205`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202206
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202206`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202207
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202207`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202208
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202208`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202209
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202209`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202210
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202210`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202211
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202211`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202212
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202212`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202301
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202301`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202302
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202302`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202303
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202303`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202304
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202304`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202305
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202305`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202306
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202306`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202307
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202307`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202308
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202308`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202309
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202309`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202310
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202310`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202311
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202311`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202401
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202401`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202404
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202404`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202405
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202405`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202406
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202406`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202407
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202407`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202408
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202408`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202409
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202409`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202410
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202410`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202411
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202411`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202412
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202412`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jackhammer_debug_202501
-- ----------------------------
CREATE TABLE `iweb_jackhammer_debug_202501`  (
  `cid` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `click_date` int NOT NULL DEFAULT 0,
  `fraud` int NOT NULL DEFAULT 0,
  `keyword` varchar(150) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `price` decimal(9, 3) NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_id` int NULL DEFAULT NULL,
  `account` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`cid`) USING BTREE,
  INDEX `jd1`(`click_date`) USING BTREE,
  INDEX `jd2`(`click_date`, `account`) USING BTREE,
  INDEX `jd3`(`click_date`, `affiliate`) USING BTREE,
  INDEX `jd4`(`click_date`, `link_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_affiliate_summary
-- ----------------------------
CREATE TABLE `iweb_jh_affiliate_summary`  (
  `acct_id` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `summary_date` int NOT NULL DEFAULT 0,
  `interim_click_count` int NULL DEFAULT NULL,
  `click_count` int NULL DEFAULT NULL,
  `click_amount_net` decimal(9, 3) NULL DEFAULT NULL,
  `click_amount_gross` decimal(9, 3) NULL DEFAULT NULL,
  `fraud_count` int NULL DEFAULT NULL,
  `referral_count` int NULL DEFAULT NULL,
  `referral_amount` decimal(9, 3) NULL DEFAULT NULL,
  `search_count` int NULL DEFAULT NULL,
  `search_amount` decimal(9, 3) NULL DEFAULT NULL,
  `paid_flag` varchar(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`acct_id`, `summary_date`) USING BTREE,
  INDEX `cld1`(`summary_date`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_autobill
-- ----------------------------
CREATE TABLE `iweb_jh_autobill`  (
  `acct_id` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `autobill_amount` decimal(9, 2) NULL DEFAULT NULL,
  `autobill_type` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `autobill_dom` int NULL DEFAULT NULL,
  `autobill_balance` decimal(9, 2) NULL DEFAULT NULL,
  PRIMARY KEY (`acct_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_autobill_log
-- ----------------------------
CREATE TABLE `iweb_jh_autobill_log`  (
  `abid` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `acct_id` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `tstamp` int NOT NULL DEFAULT 0,
  `amount` decimal(9, 2) NULL DEFAULT NULL,
  `transaction_id` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `extra_info` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`abid`) USING BTREE,
  INDEX `abl_acct`(`acct_id`, `tstamp`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_bids_pending
-- ----------------------------
CREATE TABLE `iweb_jh_bids_pending`  (
  `id` int NOT NULL AUTO_INCREMENT,
  `account` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `linkid` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `words` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `jh_bids`(`account`, `linkid`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 4 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_201402
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_201402`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_201403
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_201403`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_201603
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_201603`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_201604
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_201604`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_201605
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_201605`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_201606
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_201606`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_201607
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_201607`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_201608
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_201608`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_201609
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_201609`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_201610
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_201610`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_201611
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_201611`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_201612
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_201612`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_201701
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_201701`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_201702
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_201702`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_201703
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_201703`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_201704
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_201704`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_201705
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_201705`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_201706
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_201706`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_201709
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_201709`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_201807
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_201807`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_201808
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_201808`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_201809
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_201809`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_201811
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_201811`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_201909
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_201909`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202203
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202203`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 5 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202204
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202204`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 7 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202205
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202205`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 7 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202206
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202206`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 4 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202207
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202207`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 2 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202208
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202208`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 2 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202209
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202209`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 10 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202210
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202210`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 9 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202211
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202211`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 22 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202212
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202212`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 102 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202301
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202301`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 85 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202302
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202302`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 83 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202303
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202303`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 95 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202304
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202304`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 304 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202305
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202305`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 37 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202306
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202306`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 52 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202307
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202307`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 50 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202308
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202308`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 140 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202309
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202309`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 61 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202310
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202310`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 85 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202311
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202311`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 3 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202401
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202401`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 8 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202404
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202404`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 28 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202405
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202405`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 9 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202406
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202406`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 7 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202407
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202407`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 8 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202408
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202408`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 32 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202409
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202409`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 74 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202410
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202410`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 84 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202411
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202411`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 37 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202412
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202412`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 50 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_fraud_202501
-- ----------------------------
CREATE TABLE `iweb_jh_click_fraud_202501`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `click_tstamp` int NOT NULL DEFAULT 0,
  `fraud_id` int NOT NULL DEFAULT 0,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ip_number` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fraud_reason` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhfl_hitid`(`fraud_id`) USING BTREE,
  INDEX `jhfl_date`(`hit_date`) USING BTREE,
  INDEX `jhfl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhfl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhfl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhfl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhfl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 17 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log
-- ----------------------------
CREATE TABLE `iweb_jh_click_log`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_201402
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_201402`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_201403
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_201403`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_201603
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_201603`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_201604
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_201604`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_201605
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_201605`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_201606
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_201606`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_201607
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_201607`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_201608
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_201608`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_201609
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_201609`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_201610
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_201610`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_201611
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_201611`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_201612
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_201612`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_201701
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_201701`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_201702
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_201702`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_201703
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_201703`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_201704
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_201704`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_201705
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_201705`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_201706
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_201706`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_201709
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_201709`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_201807
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_201807`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_201808
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_201808`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_201809
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_201809`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_201811
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_201811`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_201909
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_201909`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202203
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202203`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202204
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202204`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202205
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202205`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202206
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202206`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202207
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202207`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202208
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202208`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202209
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202209`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202210
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202210`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202211
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202211`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202212
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202212`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202301
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202301`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202302
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202302`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202303
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202303`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202304
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202304`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202305
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202305`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202306
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202306`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202307
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202307`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202308
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202308`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202309
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202309`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202310
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202310`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202311
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202311`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202401
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202401`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202404
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202404`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202405
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202405`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202406
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202406`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202407
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202407`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202408
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202408`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202409
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202409`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202410
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202410`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202411
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202411`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202412
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202412`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_log_202501
-- ----------------------------
CREATE TABLE `iweb_jh_click_log_202501`  (
  `hit_id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `link_id` int NOT NULL DEFAULT 0,
  `word` varchar(225) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ppc_engine` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'internal',
  `ppc_commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `gross_price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `price` decimal(5, 3) NOT NULL DEFAULT 0.000,
  `hit_date` int NOT NULL DEFAULT 0,
  `hit_time` int NOT NULL DEFAULT 0,
  `affiliate` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `account` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `commission` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `paid_flag` char(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `roi_code` int NOT NULL DEFAULT 0,
  `roi_sale` int NULL DEFAULT NULL,
  `debug_info` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ip` varchar(15) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referer` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `user_agent` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`hit_id`) USING BTREE,
  INDEX `jhcl_date`(`hit_date`) USING BTREE,
  INDEX `jhcl_src`(`hit_date`, `ppc_engine`) USING BTREE,
  INDEX `jhcl_id`(`hit_date`, `link_id`) USING BTREE,
  INDEX `jhcl_acct`(`hit_date`, `account`) USING BTREE,
  INDEX `jhcl_aff`(`hit_date`, `affiliate`) USING BTREE,
  INDEX `jhcl_word`(`hit_date`, `word`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_click_summary
-- ----------------------------
CREATE TABLE `iweb_jh_click_summary`  (
  `acct_id` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `link_id` bigint NOT NULL DEFAULT 0,
  `click_date` int NOT NULL DEFAULT 0,
  `click_count` int NULL DEFAULT NULL,
  `click_amount_net` decimal(9, 2) NULL DEFAULT NULL,
  `click_amount_gross` decimal(9, 2) NULL DEFAULT NULL,
  `fraud_count` int NULL DEFAULT NULL,
  PRIMARY KEY (`acct_id`, `link_id`, `click_date`) USING BTREE,
  INDEX `cld1`(`acct_id`, `click_date`) USING BTREE,
  INDEX `cld2`(`link_id`, `click_date`) USING BTREE,
  INDEX `cld3`(`click_date`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_clicked
-- ----------------------------
CREATE TABLE `iweb_jh_clicked`  (
  `id` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_daily_summary
-- ----------------------------
CREATE TABLE `iweb_jh_daily_summary`  (
  `summary_date` int NOT NULL DEFAULT 0,
  `click_count` int NULL DEFAULT NULL,
  `click_amount_net` decimal(9, 3) NULL DEFAULT NULL,
  `click_amount_gross` decimal(9, 3) NULL DEFAULT NULL,
  `search_count` int NULL DEFAULT NULL,
  `search_amount` decimal(9, 3) NULL DEFAULT NULL,
  `fraud_count` int NULL DEFAULT NULL,
  PRIMARY KEY (`summary_date`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_jh_source_summary
-- ----------------------------
CREATE TABLE `iweb_jh_source_summary`  (
  `source` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `summary_date` int NOT NULL DEFAULT 0,
  `click_count` int NULL DEFAULT NULL,
  `click_amount_net` decimal(9, 3) NULL DEFAULT NULL,
  `click_amount_gross` decimal(9, 3) NULL DEFAULT NULL,
  `fraud_count` int NULL DEFAULT NULL,
  `paid_flag` varchar(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`source`, `summary_date`) USING BTREE,
  INDEX `cld1`(`summary_date`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_keyword_minimums
-- ----------------------------
CREATE TABLE `iweb_keyword_minimums`  (
  `keyword` varchar(124) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `num_clicks` int NULL DEFAULT NULL,
  `num_searches` int NULL DEFAULT NULL,
  `minimum_bid` decimal(9, 2) NULL DEFAULT NULL,
  PRIMARY KEY (`keyword`) USING BTREE,
  INDEX `minimum_bid`(`minimum_bid`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_language
-- ----------------------------
CREATE TABLE `iweb_language`  (
  `language` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `section` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `setting_name` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `default_value` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  `current_value` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  `help_text` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`language`, `section`, `setting_name`) USING BTREE,
  INDEX `setting_name`(`setting_name`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_lexical
-- ----------------------------
CREATE TABLE `iweb_lexical`  (
  `word` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `synonym` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  PRIMARY KEY (`word`) USING BTREE,
  INDEX `lex2`(`synonym`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_listing_decline_record
-- ----------------------------
CREATE TABLE `iweb_listing_decline_record`  (
  `decid` int NOT NULL AUTO_INCREMENT,
  `sitelinkid_fk` int NOT NULL,
  `listingID_fk` int NOT NULL,
  `activeacctid_fk` int NOT NULL,
  `ip_address` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `message` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '0=unresolved,1=resolved',
  `siteid_fk` int NOT NULL,
  PRIMARY KEY (`decid`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 7 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_listing_resubmit_record
-- ----------------------------
CREATE TABLE `iweb_listing_resubmit_record`  (
  `resid` int NOT NULL AUTO_INCREMENT,
  `declid_fk` int NOT NULL,
  `sitelinkid_fk` int NOT NULL,
  `uid_fk` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `listingID_fk` int NOT NULL,
  `activeacctid_fk` int NOT NULL,
  `ip_address` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `message` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  `status` tinyint(1) NOT NULL DEFAULT 0,
  `siteid_fk` int NOT NULL,
  PRIMARY KEY (`resid`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 6 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_listing_views
-- ----------------------------
CREATE TABLE `iweb_listing_views`  (
  `viewID` int NOT NULL AUTO_INCREMENT,
  `sitelinkid_fk` int NOT NULL,
  `listingID_fk` int NOT NULL,
  `acctid_view_by` int NULL DEFAULT NULL,
  `ip_address` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`viewID`) USING BTREE,
  INDEX `siteid_fk`(`sitelinkid_fk`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 48 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_pages
-- ----------------------------
CREATE TABLE `iweb_pages`  (
  `page_name` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `page_title` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `page_description` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `page_html` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  PRIMARY KEY (`page_name`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_promotions
-- ----------------------------
CREATE TABLE `iweb_promotions`  (
  `promo_code` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `promo_type` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `max_uses` int NULL DEFAULT NULL,
  `num_uses` int NULL DEFAULT NULL,
  `value` decimal(9, 2) NULL DEFAULT NULL,
  `start_date` int NULL DEFAULT NULL,
  `expire_date` int NULL DEFAULT NULL,
  PRIMARY KEY (`promo_code`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_query_language
-- ----------------------------
CREATE TABLE `iweb_query_language`  (
  `query` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `setting_name` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `description` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  PRIMARY KEY (`query`, `setting_name`) USING BTREE,
  INDEX `setting_name`(`setting_name`) USING BTREE,
  CONSTRAINT `iweb_query_language_ibfk_1` FOREIGN KEY (`setting_name`) REFERENCES `iweb_language` (`setting_name`) ON DELETE CASCADE ON UPDATE RESTRICT
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_selected_top_categories
-- ----------------------------
CREATE TABLE `iweb_selected_top_categories`  (
  `id` int NOT NULL AUTO_INCREMENT,
  `top_category_id` int NULL DEFAULT NULL,
  `price` int NULL DEFAULT NULL COMMENT 'price per category (from parent_id if don\'t have own price)',
  `status` int NULL DEFAULT 0,
  `siteid_key` int NULL DEFAULT NULL,
  `sitelink_id_key` int NULL DEFAULT NULL,
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updated_by` int NULL DEFAULT NULL COMMENT 'user who updated the value',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = latin1 COLLATE = latin1_swedish_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_sponsor_boxes
-- ----------------------------
CREATE TABLE `iweb_sponsor_boxes`  (
  `keywords` varchar(125) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `linkid` int NOT NULL DEFAULT 0,
  `expire_date` int NOT NULL DEFAULT 0,
  PRIMARY KEY (`keywords`, `linkid`, `expire_date`) USING BTREE,
  INDEX `sb1`(`keywords`) USING BTREE,
  INDEX `sb2`(`linkid`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_support_ticket_replies
-- ----------------------------
CREATE TABLE `iweb_support_ticket_replies`  (
  `id` int NOT NULL AUTO_INCREMENT,
  `ticket_id` int NOT NULL DEFAULT 0,
  `reply_date` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `reply_by` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `reply_message` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  `user` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `reply_user` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `url1` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `field1` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `field2` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `type` varchar(11) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'User',
  `email` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `str1`(`ticket_id`, `reply_date`) USING BTREE,
  INDEX `reply_by`(`reply_by`) USING BTREE,
  INDEX `user_name`(`reply_user`) USING BTREE,
  CONSTRAINT `iweb_support_ticket_replies_ibfk_1` FOREIGN KEY (`ticket_id`) REFERENCES `iweb_support_tickets` (`ticket_id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `iweb_support_ticket_replies_ibfk_2` FOREIGN KEY (`reply_user`) REFERENCES `tblmm_members` (`UserName`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_support_tickets
-- ----------------------------
CREATE TABLE `iweb_support_tickets`  (
  `ticket_id` int NOT NULL AUTO_INCREMENT,
  `ticket_date` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `ticket_status` char(1) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'O',
  `acct_id` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `assigned_agent` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `read_by_agent` tinyint(1) NOT NULL DEFAULT 0,
  `read_by_user` tinyint(1) NOT NULL DEFAULT 0,
  `subject` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `message` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  `user` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `user_name` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `service_provider` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `email` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `agent_email` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  PRIMARY KEY (`ticket_id`) USING BTREE,
  INDEX `user_name`(`user_name`) USING BTREE,
  INDEX `st1`(`acct_id`, `ticket_status`) USING BTREE,
  INDEX `st2`(`ticket_status`) USING BTREE,
  INDEX `st3`(`ticket_date`, `ticket_status`) USING BTREE,
  INDEX `service_provider`(`service_provider`) USING BTREE,
  CONSTRAINT `iweb_support_tickets_ibfk_1` FOREIGN KEY (`user_name`) REFERENCES `tblmm_members` (`UserName`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_table_def
-- ----------------------------
CREATE TABLE `iweb_table_def`  (
  `table_name` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `schema_name` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `field_name` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `form_order` int NULL DEFAULT NULL,
  `table_order` int NULL DEFAULT NULL,
  `form_prompt` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `system` char(1) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `col_type` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `col_length` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `is_required` char(1) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `default_value` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  `input_type` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `regex` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`field_name`, `schema_name`, `table_name`) USING BTREE,
  INDEX `schema_name`(`schema_name`) USING BTREE,
  INDEX `col_type`(`col_type`) USING BTREE,
  INDEX `input_type`(`input_type`) USING BTREE,
  INDEX `table_name`(`table_name`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_user_groups
-- ----------------------------
CREATE TABLE `iweb_user_groups`  (
  `id` int NOT NULL AUTO_INCREMENT,
  `group_name` char(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `fg1`(`group_name`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 5 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_xml_feeds_URL
-- ----------------------------
CREATE TABLE `iweb_xml_feeds_URL`  (
  `feed_URL_id` int NOT NULL AUTO_INCREMENT,
  `feed_id_fk` int NOT NULL COMMENT 'id from iweb_xml_feeds',
  `URL` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL COMMENT 'URL (HOST) of feed',
  `status` tinyint(1) NOT NULL COMMENT '1 = active, 2 = inactive, 3 = blacklisted',
  `comments` varchar(1024) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL COMMENT 'comments',
  `created` datetime NOT NULL COMMENT 'Timestamp',
  `updated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'Timestamp',
  PRIMARY KEY (`feed_URL_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = latin1 COLLATE = latin1_swedish_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_xml_feeds_backup_20200501
-- ----------------------------
CREATE TABLE `iweb_xml_feeds_backup_20200501`  (
  `engine_name` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `engine_icon` varchar(300) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `affiliate_id` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `active_status` varchar(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `content_type` int NOT NULL DEFAULT 1 COMMENT '1 Text; 2 Video',
  `xml_type` int NOT NULL DEFAULT 1,
  `locational` tinyint(1) NOT NULL DEFAULT 0,
  `feed_url` varchar(512) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `detail_url` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `channel_url` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `total_tag` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `id_tag` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_tag` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `details_tag` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `channels_tag` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `title_tag` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `keywords_tag` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `didyoumean` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `category_tag` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `related_categories_tag` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `redirect_tag` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `desc_tag` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `url_tag` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `video_tag` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `video_low_res` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `video_mid_res` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `video_high_res` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `video_embed_url` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `audio_url` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `bid_tag` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `image_tag` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `image_1_tag` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `image_2_tag` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `rating_tag` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `rating` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `rating_min` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `rating_max` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `rating_votes` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `stats_tag` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `hits` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `submitted_tag` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `channel_tag` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `account_tag` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `localmap_tag` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `city` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `state` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `zipcode` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `country` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `latitude` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `longitude` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `phone` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `payment_methods` varchar(1024) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `open_hours` varchar(1024) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `about` varchar(2048) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `slogan` varchar(1024) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `email` varchar(512) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `commission` decimal(9, 2) NULL DEFAULT NULL,
  `commission_type` varchar(5) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `restrict_to_country` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  `prepend_search_term` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referrer_append_string` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`engine_name`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_xml_feeds_commission_types
-- ----------------------------
CREATE TABLE `iweb_xml_feeds_commission_types`  (
  `commission_type_id` int NOT NULL AUTO_INCREMENT,
  `commission_type` varchar(10) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `commission_type_name` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `commission_type_description` varchar(300) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  PRIMARY KEY (`commission_type_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = latin1 COLLATE = latin1_swedish_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_xml_feeds_content_type
-- ----------------------------
CREATE TABLE `iweb_xml_feeds_content_type`  (
  `content_type_id` int NOT NULL AUTO_INCREMENT,
  `content_type_name` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  PRIMARY KEY (`content_type_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = latin1 COLLATE = latin1_swedish_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_xml_feeds_details
-- ----------------------------
CREATE TABLE `iweb_xml_feeds_details`  (
  `engine_name_key` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `icon_url` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `field1` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  PRIMARY KEY (`engine_name_key`) USING BTREE,
  CONSTRAINT `iweb_xml_feeds_details_ibfk_1` FOREIGN KEY (`engine_name_key`) REFERENCES `iweb_xml_feeds` (`engine_name`) ON DELETE CASCADE ON UPDATE RESTRICT
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_xml_feeds_metadata
-- ----------------------------
CREATE TABLE `iweb_xml_feeds_metadata`  (
  `meta_id` int NOT NULL AUTO_INCREMENT,
  `feed_id_fk` int NOT NULL COMMENT 'id from iweb_xml_feeds',
  `version` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL,
  `users` longtext CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL,
  `plugins` longtext CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL,
  `total_videos` int NULL DEFAULT NULL,
  `total_users` int NULL DEFAULT NULL,
  `total_channels` int NULL DEFAULT NULL,
  `language` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL,
  `date` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`meta_id`, `feed_id_fk`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = latin1 COLLATE = latin1_swedish_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_xml_feeds_old
-- ----------------------------
CREATE TABLE `iweb_xml_feeds_old`  (
  `engine_name` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `engine_icon` varchar(300) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `affiliate_id` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `active_status` varchar(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `content_type` int NOT NULL DEFAULT 1 COMMENT '1 Text; 2 Video',
  `xml_type` int NOT NULL DEFAULT 1,
  `locational` tinyint(1) NOT NULL DEFAULT 0,
  `feed_url` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `detail_url` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `channel_url` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `total_tag` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `id_tag` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `link_tag` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `details_tag` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `channels_tag` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `title_tag` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `keywords_tag` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `didyoumean` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `category_tag` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `related_categories_tag` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `redirect_tag` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `desc_tag` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `url_tag` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `video_tag` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `video_low_res` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `video_mid_res` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `video_high_res` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `video_embed_url` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `audio_url` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `bid_tag` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `image_tag` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `image_1_tag` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `image_2_tag` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `rating_tag` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `rating` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `rating_min` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `rating_max` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `rating_votes` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `stats_tag` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `hits` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `submitted_tag` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `channel_tag` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `account_tag` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `localmap_tag` varchar(25) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `city` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `state` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `zipcode` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `country` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `latitude` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `longitude` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `phone` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `payment_methods` varchar(1024) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `open_hours` varchar(1024) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `about` varchar(2048) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `slogan` varchar(1024) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `email` varchar(512) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `commission` decimal(9, 2) NULL DEFAULT NULL,
  `commission_type` varchar(5) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `restrict_to_country` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  `prepend_search_term` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `referrer_append_string` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`engine_name`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_xml_feeds_pub_join
-- ----------------------------
CREATE TABLE `iweb_xml_feeds_pub_join`  (
  `feedpubjoinid` int NOT NULL AUTO_INCREMENT COMMENT 'unique id',
  `feedid` int NULL DEFAULT NULL COMMENT 'id from iweb_xml_feeds table',
  `pubid` varchar(30) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL COMMENT 'id from iweb_xml_feeds_pubs table',
  `status` tinyint(1) NULL DEFAULT NULL COMMENT '0=pending, 1=approved',
  `join_date` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`feedpubjoinid`) USING BTREE,
  UNIQUE INDEX `unique`(`feedid`, `pubid`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = latin1 COLLATE = latin1_swedish_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_xml_feeds_pubs
-- ----------------------------
CREATE TABLE `iweb_xml_feeds_pubs`  (
  `pubid` int NOT NULL AUTO_INCREMENT,
  `publisher` varchar(150) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL COMMENT 'name of the publisher',
  `description` varchar(1024) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL COMMENT 'description of the publisher',
  `URL` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL COMMENT 'URL of publisher',
  PRIMARY KEY (`pubid`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = latin1 COLLATE = latin1_swedish_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for iweb_xml_feeds_xml_types
-- ----------------------------
CREATE TABLE `iweb_xml_feeds_xml_types`  (
  `xml_type_id` int NOT NULL AUTO_INCREMENT,
  `xml_type_name` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `xml_type_description` varchar(1024) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL,
  PRIMARY KEY (`xml_type_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = latin1 COLLATE = latin1_swedish_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for listing_coupon
-- ----------------------------
CREATE TABLE `listing_coupon`  (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL,
  `short_desc` longtext CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL,
  `description` longtext CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL,
  `code` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL,
  `expiration_date` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL,
  `listingid` int NOT NULL,
  `authorid` int NOT NULL,
  `update_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `acctidkey` int NOT NULL,
  `created_at` date NOT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = latin1 COLLATE = latin1_swedish_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for mediaorders
-- ----------------------------
CREATE TABLE `mediaorders`  (
  `orderid` int NOT NULL AUTO_INCREMENT,
  `orderdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `parent` varchar(250) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `title` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `title_tag` varchar(120) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `affiliate` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `agency` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `description` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  `desc_image` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `keywords` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `url` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `largeicon` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `smallicon` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `multimedia` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `_125banner` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `Voice` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `Voicetext` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  `comments` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  `package` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `category` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `finalcategory` int NULL DEFAULT NULL,
  `payMethod` decimal(9, 2) NULL DEFAULT 0.00,
  `dailyFee` decimal(14, 8) NOT NULL DEFAULT 0.00000000,
  `salesFee` decimal(9, 2) NOT NULL DEFAULT 0.00,
  `AMOP` tinyint(1) NOT NULL DEFAULT 0,
  `listinguser` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `listingaccount` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `featured` varchar(11) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'False',
  `listingagent` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `listingagentemail` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `listingagentphone` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `identifier` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `adDuration` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `startDate` varchar(11) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `endDate` varchar(11) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `Images` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `stockfootage` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `status` varchar(30) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'New',
  `Product` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ProductDesc` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ProductNetwork` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `acct_id` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `email` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `contact` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `name` varchar(75) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `address` varchar(250) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `city` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `county` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `state` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `zip` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `country` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `phone` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `fax` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `sugdir` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `field4` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `field5` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `videoduration` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `servprovider` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `servtype` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `servprovemail` varchar(250) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `lpid` int NULL DEFAULT NULL,
  `sysnodeid` int NULL DEFAULT NULL,
  `membercodeid` int NULL DEFAULT NULL,
  `linkid` int NULL DEFAULT NULL,
  `ordertype` varchar(13) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'Media',
  `valdesc` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  `trans_id` int NULL DEFAULT NULL,
  `totalHits` int NOT NULL DEFAULT 0,
  `ppl_total_hits` int NOT NULL DEFAULT 0,
  `revision` int NOT NULL DEFAULT 1,
  PRIMARY KEY (`orderid`) USING BTREE,
  INDEX `membercodeid`(`membercodeid`) USING BTREE,
  INDEX `finalcategory`(`finalcategory`) USING BTREE,
  INDEX `linkid`(`linkid`) USING BTREE,
  INDEX `sysnodeid`(`sysnodeid`) USING BTREE,
  INDEX `country`(`country`) USING BTREE,
  INDEX `lpid`(`lpid`) USING BTREE,
  INDEX `status`(`status`) USING BTREE,
  INDEX `listinguser`(`listinguser`) USING BTREE,
  INDEX `listingaccount`(`listingaccount`) USING BTREE,
  INDEX `affiliate`(`affiliate`) USING BTREE,
  INDEX `trans_id`(`trans_id`) USING BTREE,
  INDEX `ordertype`(`ordertype`) USING BTREE,
  INDEX `orderdate`(`orderdate`) USING BTREE,
  INDEX `revision`(`revision`) USING BTREE,
  INDEX `endDate`(`endDate`) USING BTREE,
  INDEX `acct_id`(`acct_id`, `status`, `ordertype`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for mediaorders_status
-- ----------------------------
CREATE TABLE `mediaorders_status`  (
  `statusid` int NOT NULL AUTO_INCREMENT,
  `mediastatus` varchar(30) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `processorder` int NOT NULL DEFAULT 0,
  `description` varchar(140) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`statusid`) USING BTREE,
  UNIQUE INDEX `mediastatus`(`mediastatus`) USING BTREE,
  UNIQUE INDEX `processorder`(`processorder`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for membercode
-- ----------------------------
CREATE TABLE `membercode`  (
  `membercodeid` int NOT NULL AUTO_INCREMENT,
  `sysnodeid` int NULL DEFAULT NULL,
  `distribution` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'False',
  `acct_id` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ref_com` decimal(3, 2) NOT NULL DEFAULT 0.15,
  `prod_com` decimal(3, 2) NOT NULL DEFAULT 0.70,
  `plat_com` decimal(3, 2) NOT NULL DEFAULT 0.15,
  `last_update` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `application_date` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `activated` varchar(11) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `approval_date` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `managed_price` decimal(9, 2) NOT NULL DEFAULT 1.00,
  `featured` tinyint(1) NOT NULL DEFAULT 0,
  `featured_required` tinyint(1) NOT NULL DEFAULT 0,
  `featured_price` decimal(9, 2) NOT NULL DEFAULT 0.00,
  `minimum_payment` decimal(9, 2) NOT NULL DEFAULT 0.00,
  `payment_period` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `daily_fee_type` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'managed',
  `fee_schedule` tinyint(1) NOT NULL DEFAULT 0,
  `production_price` decimal(9, 2) NULL DEFAULT NULL,
  `notes` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `productid` int NOT NULL DEFAULT 0,
  `itemid` int NOT NULL DEFAULT 0,
  `category_id` int NULL DEFAULT NULL,
  `category_level` tinyint(1) NOT NULL DEFAULT 0,
  `header` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `footer` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `playerflv` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `PlayerWidth` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `PlayerHeight` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `WinHeight` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `WinWidth` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `templateid` int NOT NULL DEFAULT 0,
  `templatename` varchar(60) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `template_description` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `productname` varchar(60) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `product_description` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `sales_description` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  `templatetype` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `xml` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `html` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `xslt` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `producticon` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `pageviews` int NULL DEFAULT NULL,
  `codedescription` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `producturl` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `tempurl` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ipaddress` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `body_margin` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `body_background_color` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `body_background_url` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `div_top_position` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `div_left_position` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `div_width` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `css` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `url_image` varchar(250) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `url1_image` varchar(250) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `url2_image` varchar(250) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `email_image` varchar(250) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `send_to_friend_image` varchar(250) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `next_image` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `last_image` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `previous_image` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `first_image` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `search_image` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `icons_menu_activate` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'True',
  `Icons_top_pos` varchar(11) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `Icons_left_pos` varchar(11) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `Icons_width` varchar(11) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `icons_left_button` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `icons_right_button` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `product_mm_url` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `full_screen_image_url` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `xml_url` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `xsl_url` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'feed-style.asp',
  `xsl_code` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `xsl_player_url` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'feed-player-style.asp',
  `xsl_player_code` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `xsl_css_url` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'xsl_css_code.asp',
  `xsl_css_code` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `xsl_java_url` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'xsl_java_code.asp',
  `xsl_java_code` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `twinwidth` varchar(11) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `twinheight` varchar(11) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `tplayerwidth` varchar(11) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `tplayerheight` varchar(11) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `tcss` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `totalHits` int NOT NULL DEFAULT 0,
  `width` int NULL DEFAULT NULL,
  `height` int NULL DEFAULT NULL,
  `banner` tinyint(1) NOT NULL DEFAULT 0,
  `PPV` tinyint(1) NOT NULL DEFAULT 1,
  `PPS` tinyint(1) NOT NULL DEFAULT 1,
  `PPL` tinyint(1) NOT NULL DEFAULT 0,
  `PPC` tinyint(1) NOT NULL DEFAULT 0,
  `revision` int NOT NULL DEFAULT 1,
  PRIMARY KEY (`membercodeid`) USING BTREE,
  UNIQUE INDEX `productname`(`productname`, `sysnodeid`) USING BTREE,
  INDEX `sysnodeid`(`sysnodeid`) USING BTREE,
  INDEX `category_id`(`category_id`) USING BTREE,
  INDEX `acct_id`(`acct_id`) USING BTREE,
  INDEX `PPL`(`PPL`) USING BTREE,
  INDEX `revision`(`revision`) USING BTREE,
  CONSTRAINT `membercode_ibfk_1` FOREIGN KEY (`sysnodeid`) REFERENCES `network_nodes` (`SystemNode`) ON DELETE CASCADE ON UPDATE RESTRICT,
  CONSTRAINT `membercode_ibfk_2` FOREIGN KEY (`category_id`) REFERENCES `iweb_hs_categories` (`category_id`) ON DELETE SET NULL ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1056 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for network_nodes
-- ----------------------------
CREATE TABLE `network_nodes`  (
  `SystemNode` int NOT NULL AUTO_INCREMENT,
  `SystemParentNode` int NULL DEFAULT NULL,
  `NodeName` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `NodeDescription` varchar(1024) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `NodeKeywords` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `NodeHTML` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  `NodeTopic` int NULL DEFAULT NULL,
  `NodeUrl` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `NodeIconUrl` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `NodeMMUrl` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `NodeMMVideo` int NULL DEFAULT NULL,
  `NodePlayerFLV` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `NodeType` smallint NOT NULL DEFAULT 4,
  `NodeAcctID` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `NodeActive` tinyint(1) NOT NULL DEFAULT 1,
  `NodeBroadID` varchar(6) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `publicsubnode` int NULL DEFAULT NULL,
  `removed` tinyint(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`SystemNode`) USING BTREE,
  UNIQUE INDEX `PublicSubNode`(`publicsubnode`, `SystemParentNode`) USING BTREE,
  INDEX `NodeMMVideo`(`NodeMMVideo`) USING BTREE,
  INDEX `NodeType`(`NodeType`) USING BTREE,
  INDEX `SystemParentNode`(`SystemParentNode`) USING BTREE,
  INDEX `NodeTopic`(`NodeTopic`) USING BTREE,
  INDEX `NodeBroadID`(`NodeBroadID`) USING BTREE,
  INDEX `NodeAcctID`(`NodeAcctID`) USING BTREE,
  INDEX `removed`(`removed`) USING BTREE,
  CONSTRAINT `network_nodes_ibfk_1` FOREIGN KEY (`NodeMMVideo`) REFERENCES `wwbn_videos` (`videoadid`) ON DELETE SET NULL ON UPDATE RESTRICT,
  CONSTRAINT `network_nodes_ibfk_2` FOREIGN KEY (`NodeType`) REFERENCES `network_nodes_type` (`NodeIndex`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `network_nodes_ibfk_3` FOREIGN KEY (`SystemParentNode`) REFERENCES `network_nodes` (`SystemNode`) ON DELETE CASCADE ON UPDATE RESTRICT,
  CONSTRAINT `network_nodes_ibfk_4` FOREIGN KEY (`NodeTopic`) REFERENCES `iweb_hs_categories` (`category_id`) ON DELETE SET NULL ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 986 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for network_nodes_type
-- ----------------------------
CREATE TABLE `network_nodes_type`  (
  `NodeIndex` smallint NOT NULL AUTO_INCREMENT,
  `NodeType` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `NodeDesc` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `smallicon` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `smallicon_open` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `smallicon_close` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`NodeIndex`, `NodeType`) USING BTREE,
  UNIQUE INDEX `NodeType`(`NodeType`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for sp_serv_prov
-- ----------------------------
CREATE TABLE `sp_serv_prov`  (
  `spid` int NOT NULL AUTO_INCREMENT,
  `acct_id` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `spcatid` int NULL DEFAULT NULL,
  `minorder` int NOT NULL DEFAULT 0,
  `maxorder` int NOT NULL DEFAULT 25,
  `worksecuritylevel` tinyint(1) NULL DEFAULT NULL COMMENT 'User security that is required to access work without specific work assignment',
  `public` tinyint(1) NOT NULL DEFAULT 0,
  `approved` tinyint(1) NOT NULL DEFAULT 0,
  `approvedby` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `approveddate` datetime NULL DEFAULT NULL,
  `approvalcomments` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  `active` tinyint(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`spid`) USING BTREE,
  UNIQUE INDEX `acct_id`(`acct_id`) USING BTREE,
  INDEX `approvedby`(`approvedby`) USING BTREE,
  INDEX `worksecuritylevel`(`worksecuritylevel`) USING BTREE,
  INDEX `spcatid`(`spcatid`) USING BTREE,
  CONSTRAINT `sp_serv_prov_ibfk_1` FOREIGN KEY (`approvedby`) REFERENCES `tblmm_members` (`UserName`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `sp_serv_prov_ibfk_2` FOREIGN KEY (`worksecuritylevel`) REFERENCES `tblplm_security` (`SecurityLevelID`) ON DELETE SET NULL ON UPDATE RESTRICT
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for tbllookupcity
-- ----------------------------
CREATE TABLE `tbllookupcity`  (
  `CityID` int NOT NULL AUTO_INCREMENT,
  `cityname` varchar(120) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `regionidkey` int NULL DEFAULT NULL,
  `CountyIDKey` int NULL DEFAULT NULL,
  PRIMARY KEY (`CityID`) USING BTREE,
  UNIQUE INDEX `CityName`(`CountyIDKey`, `cityname`) USING BTREE,
  INDEX `regionidkey`(`regionidkey`) USING BTREE,
  CONSTRAINT `tbllookupcity_ibfk_1` FOREIGN KEY (`CountyIDKey`) REFERENCES `tbllookupcounty` (`CountyID`) ON DELETE CASCADE ON UPDATE RESTRICT,
  CONSTRAINT `tbllookupcity_ibfk_2` FOREIGN KEY (`regionidkey`) REFERENCES `tbllookupregion` (`RegionID`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for tbllookupcity_1
-- ----------------------------
CREATE TABLE `tbllookupcity_1`  (
  `CityID` int NOT NULL AUTO_INCREMENT,
  `cityname` varchar(120) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `regionidkey` int NULL DEFAULT NULL,
  `CountyIDKey` int NULL DEFAULT NULL,
  PRIMARY KEY (`CityID`) USING BTREE,
  UNIQUE INDEX `CityName`(`CountyIDKey`, `cityname`) USING BTREE,
  INDEX `regionidkey`(`regionidkey`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for tbllookupcityzip
-- ----------------------------
CREATE TABLE `tbllookupcityzip`  (
  `ZIP` varchar(5) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `City` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `State` varchar(3) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `County` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  PRIMARY KEY (`ZIP`, `City`, `State`) USING BTREE,
  INDEX `State`(`State`) USING BTREE,
  INDEX `County`(`County`) USING BTREE,
  CONSTRAINT `tbllookupcityzip_ibfk_1` FOREIGN KEY (`State`) REFERENCES `tbllookupstate` (`StateShortName`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for tbllookupcounty
-- ----------------------------
CREATE TABLE `tbllookupcounty`  (
  `CountyID` int NOT NULL AUTO_INCREMENT,
  `State` varchar(2) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `County` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `US_FIPS` tinyint NULL DEFAULT NULL,
  `FIPS Cl` varchar(2) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  PRIMARY KEY (`CountyID`) USING BTREE,
  UNIQUE INDEX `State`(`State`, `County`) USING BTREE,
  INDEX `US_FIPS`(`US_FIPS`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for tbllookupdma
-- ----------------------------
CREATE TABLE `tbllookupdma`  (
  `DMA` int NOT NULL DEFAULT 0,
  `CityName` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `StateShortName` varchar(2) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  UNIQUE INDEX `DMA`(`DMA`, `CityName`, `StateShortName`) USING BTREE,
  INDEX `StateShortName`(`StateShortName`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for tbllookupregion
-- ----------------------------
CREATE TABLE `tbllookupregion`  (
  `RegionID` int NOT NULL AUTO_INCREMENT,
  `regionname` varchar(120) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `regionshortname` char(2) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `CountryIDKey` int NULL DEFAULT NULL,
  `region_fips` varchar(2) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`RegionID`) USING BTREE,
  UNIQUE INDEX `RegionShortName`(`regionshortname`) USING BTREE,
  UNIQUE INDEX `RegionName`(`regionname`, `CountryIDKey`, `region_fips`) USING BTREE,
  INDEX `CountryIDKey`(`CountryIDKey`) USING BTREE,
  CONSTRAINT `tbllookupregion_ibfk_1` FOREIGN KEY (`CountryIDKey`) REFERENCES `tbllookupcountry` (`CountryID`) ON DELETE CASCADE ON UPDATE RESTRICT
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for tbllookupzip
-- ----------------------------
CREATE TABLE `tbllookupzip`  (
  `postalcodeid` int NOT NULL AUTO_INCREMENT,
  `zipcode` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `CityIDKey` int NULL DEFAULT NULL,
  `latitude` double NULL DEFAULT NULL,
  `longitude` double NULL DEFAULT NULL,
  PRIMARY KEY (`postalcodeid`) USING BTREE,
  UNIQUE INDEX `ZIPCode`(`zipcode`, `CityIDKey`) USING BTREE,
  INDEX `CityIDKey`(`CityIDKey`) USING BTREE,
  CONSTRAINT `tbllookupzip_ibfk_1` FOREIGN KEY (`CityIDKey`) REFERENCES `tbllookupcity` (`CityID`) ON DELETE CASCADE ON UPDATE RESTRICT
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for tblplm_security
-- ----------------------------
CREATE TABLE `tblplm_security`  (
  `SecurityLevelID` tinyint(1) NOT NULL DEFAULT 0,
  `SecurityLevelName` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `SecurityLevelDesc` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `LoginSuccessURL` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `LogoutURL` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `security_image` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  PRIMARY KEY (`SecurityLevelID`) USING BTREE,
  UNIQUE INDEX `SecurityLevelName`(`SecurityLevelName`, `SecurityLevelID`) USING BTREE,
  INDEX `LoginSuccessURL`(`LoginSuccessURL`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for wwbn_catalog_items
-- ----------------------------
CREATE TABLE `wwbn_catalog_items`  (
  `ItemID` int NOT NULL AUTO_INCREMENT,
  `ProdCatIDKey` int NOT NULL DEFAULT 0,
  `ItemName` varchar(120) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `ItemDesc` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  `ItemDescShort` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  `ItemHTML` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  `ImageFile` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ImageFile2` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ImageFileThumb` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ImageFileThumb2` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `InStock` tinyint(1) NOT NULL DEFAULT 0,
  `DateAdded` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `LastUpdate` datetime NULL DEFAULT NULL,
  `LastUpdateBy` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `Activated` tinyint(1) NOT NULL DEFAULT 0,
  `Feature1` varchar(220) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `Feature2` varchar(220) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `Feature3` varchar(220) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `Feature4` varchar(220) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `Feature5` varchar(220) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `DownloadFile` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `DownloadFile2` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `OrderLink` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `ManufacturerIDkey` int NOT NULL DEFAULT 0,
  `ProcessIDKey` int NULL DEFAULT NULL,
  `OrderAvailabilityFlag` tinyint(1) NOT NULL DEFAULT 0,
  `CurrentRevision` int NOT NULL DEFAULT 1,
  PRIMARY KEY (`ItemID`) USING BTREE,
  UNIQUE INDEX `ItemName`(`ItemName`, `ManufacturerIDkey`) USING BTREE,
  INDEX `LastUpdateBy`(`LastUpdateBy`) USING BTREE,
  INDEX `ProcessIDKey`(`ProcessIDKey`) USING BTREE,
  INDEX `ProdCatIDKey`(`ProdCatIDKey`) USING BTREE,
  INDEX `ManufacturerIDkey`(`ManufacturerIDkey`) USING BTREE,
  INDEX `Revision`(`CurrentRevision`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci COMMENT = 'Items that a provider makes available to instances' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for wwbn_distributions
-- ----------------------------
CREATE TABLE `wwbn_distributions`  (
  `distributionid` int NOT NULL AUTO_INCREMENT,
  `videoadidkey` int NOT NULL DEFAULT 0,
  `distdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `startDate` varchar(11) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `endDate` varchar(11) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `finalcategory` int NULL DEFAULT NULL,
  `statusidkey` tinyint(1) NOT NULL DEFAULT 1,
  `membercodeid` int NOT NULL,
  `lpid` int NULL DEFAULT NULL,
  `banneridkey` int NULL DEFAULT NULL,
  `featured` tinyint(1) NOT NULL DEFAULT 0,
  `valdesc` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  `revision` int NOT NULL DEFAULT 1,
  `mediaupdate` tinyint(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`distributionid`) USING BTREE,
  INDEX `lpid`(`lpid`) USING BTREE,
  INDEX `finalcategory`(`finalcategory`) USING BTREE,
  INDEX `membercodeid`(`membercodeid`) USING BTREE,
  INDEX `videoadidkey`(`videoadidkey`) USING BTREE,
  INDEX `statusidkey`(`statusidkey`) USING BTREE,
  INDEX `revision`(`revision`) USING BTREE,
  INDEX `endDate`(`endDate`, `statusidkey`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for wwbn_file_storage_units
-- ----------------------------
CREATE TABLE `wwbn_file_storage_units`  (
  `storeunitid` int NOT NULL AUTO_INCREMENT,
  `storeunitname` varchar(2) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `storeunitdesc` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `storeunitorder` int NOT NULL DEFAULT 0,
  PRIMARY KEY (`storeunitid`) USING BTREE,
  INDEX `storeunitname`(`storeunitname`) USING BTREE,
  INDEX `storeunitorder`(`storeunitorder`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for wwbn_transaction_integrations
-- ----------------------------
CREATE TABLE `wwbn_transaction_integrations`  (
  `transprovid` int NOT NULL,
  `transprovname` varchar(220) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `integrationidkey` int NOT NULL,
  PRIMARY KEY (`transprovid`) USING BTREE,
  UNIQUE INDEX `transprovname`(`transprovname`) USING BTREE,
  UNIQUE INDEX `intergrationidkey`(`integrationidkey`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for wwbn_transaction_payment_means
-- ----------------------------
CREATE TABLE `wwbn_transaction_payment_means`  (
  `paymentmeansid` tinyint NOT NULL AUTO_INCREMENT,
  `name` varchar(60) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `paymenttypeidkey` int NOT NULL DEFAULT 1,
  `active` tinyint(1) NOT NULL DEFAULT 0,
  `image` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`paymentmeansid`) USING BTREE,
  UNIQUE INDEX `name`(`name`) USING BTREE,
  INDEX `paymenttypeidkey`(`paymenttypeidkey`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for wwbn_tubes
-- ----------------------------
CREATE TABLE `wwbn_tubes`  (
  `membercodeid` int NOT NULL AUTO_INCREMENT,
  `sysnodeid` int NULL DEFAULT NULL,
  `tubetypeidkey` tinyint(1) NOT NULL DEFAULT 1,
  `acct_id` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `last_update` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `application_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `activated` tinyint(1) NOT NULL DEFAULT 0,
  `approval_date` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `featured` tinyint(1) NOT NULL DEFAULT 0 COMMENT '1 - Featured, 2 - Featured Required',
  `notes` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `category_id` int NULL DEFAULT NULL,
  `category_level` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Disables category depth and shows only top level categories',
  `productname` varchar(60) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `product_description` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `sales_description` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  `producticon` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `pageviews` int NULL DEFAULT NULL,
  `producturl` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `ipaddress` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `product_mm_video` int NULL DEFAULT NULL,
  `totalHits` int NOT NULL DEFAULT 0,
  `requiredfields` varchar(220) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
  `ppl` tinyint(1) NOT NULL DEFAULT 0,
  `validation` tinyint(1) NOT NULL DEFAULT 1 COMMENT 'PPL Validation',
  `revision` int NOT NULL DEFAULT 1,
  `removed` tinyint(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`membercodeid`) USING BTREE,
  UNIQUE INDEX `productname`(`productname`, `sysnodeid`) USING BTREE,
  INDEX `category_id`(`category_id`) USING BTREE,
  INDEX `product_mm_video`(`product_mm_video`) USING BTREE,
  INDEX `acct_id`(`acct_id`) USING BTREE,
  INDEX `PPL`(`ppl`) USING BTREE,
  INDEX `tubetypeidkey`(`tubetypeidkey`) USING BTREE,
  INDEX `sysnodeid`(`sysnodeid`, `tubetypeidkey`, `activated`, `ppl`) USING BTREE,
  INDEX `revision`(`revision`) USING BTREE,
  INDEX `removed`(`removed`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Table structure for wwbn_videos
-- ----------------------------
CREATE TABLE `wwbn_videos`  (
  `videoadid` int NOT NULL AUTO_INCREMENT,
  `createdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `statusidkey` tinyint(1) NOT NULL DEFAULT 1,
  `categoryidkey` int NULL DEFAULT NULL,
  `videotypeidkey` tinyint NOT NULL DEFAULT 1,
  `title` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `title_tag` varchar(120) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `description` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL,
  `desc_image` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `keywords` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `largeicon` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `smallicon` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `identifier` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `endDate` datetime NULL DEFAULT CURRENT_TIMESTAMP,
  `acct_id` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '',
  `email` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `searchengine` tinyint(1) NOT NULL DEFAULT 1,
  `revokedesc` varchar(240) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL COMMENT 'Comment for when a client rejects an order in Ready',
  `revision` int NULL DEFAULT 1,
  `listinguser` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `listingaccount` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL,
  `AMOP` tinyint(1) NOT NULL DEFAULT 0,
  `mediaupdate` tinyint(1) NOT NULL DEFAULT 0,
  `requiredfields` varchar(220) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NULL DEFAULT NULL COMMENT 'Combined Requirements based on All Distributions',
  `share` tinyint(1) NOT NULL DEFAULT 0,
  `packageitemidkey` int NULL DEFAULT NULL COMMENT 'Package Item Id for Video',
  `no_purchase` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'No purchase required - admin info',
  PRIMARY KEY (`videoadid`) USING BTREE,
  UNIQUE INDEX `identifier`(`identifier`, `acct_id`) USING BTREE,
  INDEX `title`(`title`, `identifier`) USING BTREE,
  INDEX `acct_id`(`acct_id`) USING BTREE,
  INDEX `revision`(`revision`) USING BTREE,
  INDEX `categoryidkey`(`categoryidkey`) USING BTREE,
  INDEX `listingaccount`(`listingaccount`) USING BTREE,
  INDEX `listinguser`(`listinguser`) USING BTREE,
  INDEX `statusidkey`(`statusidkey`) USING BTREE,
  INDEX `createdate`(`createdate`, `statusidkey`, `acct_id`) USING BTREE,
  INDEX `videotypeidkey`(`videotypeidkey`) USING BTREE,
  INDEX `packageitemidkey`(`packageitemidkey`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Triggers structure for table mediaorders
-- ----------------------------
DROP TRIGGER IF EXISTS `mediaorder_before_create`;
delimiter ;;
CREATE TRIGGER `mediaorder_before_create` BEFORE INSERT ON `mediaorders` FOR EACH ROW BEGIN
	DECLARE l_last_row_fetched INT DEFAULT 0;
	DECLARE s_state VARCHAR(255) DEFAULT NULL;
	DECLARE CONTINUE HANDLER FOR NOT FOUND SET l_last_row_fetched = 1;
	IF NEW.startdate IS NOT NULL AND NEW.enddate IS NOT NULL THEN		
		SET NEW.adDuration = DATEDIFF(NEW.enddate,NEW.startdate) + 1;
	END IF;
	IF NEW.state IS NOT NULL THEN
		IF LENGTH(NEW.state) > 2 THEN
			SELECT StateShortName INTO s_state FROM tbllookupstate
			WHERE StateName = NEW.state;
			IF l_last_row_fetched = 0 AND s_state IS NOT NULL THEN
				SET NEW.state = s_state;
			END IF;
		END IF;
	END IF;
END
;;
delimiter ;

-- ----------------------------
-- Triggers structure for table mediaorders
-- ----------------------------
DROP TRIGGER IF EXISTS `mediaorder_create`;
delimiter ;;
CREATE TRIGGER `mediaorder_create` AFTER INSERT ON `mediaorders` FOR EACH ROW BEGIN
	DECLARE l_videoadid INT;
	DECLARE l_statusid INT DEFAULT NULL;	
	DECLARE l_distid INT DEFAULT NULL;	
	DECLARE l_diststatus INT DEFAULT 2;
	DECLARE l_last_row_fetched INT DEFAULT 0;
	DECLARE videoad_csr CURSOR FOR SELECT videoadid FROM wwbn_videos WHERE videoadid = NEW.orderid;
	DECLARE videoad_ident CURSOR FOR SELECT videoadid, statusidkey FROM wwbn_videos WHERE acct_id = NEW.acct_id AND identifier = NEW.identifier; 
	
	DECLARE CONTINUE HANDLER FOR NOT FOUND SET l_last_row_fetched = 1;		

	INSERT INTO `mediaorders_changes` (`orderid`, `title`, `title_tag`, `description`, `desc_image`, `keywords`, `url`, `largeicon`, `smallicon`, `multimedia`, `finalcategory`, `listinguser`, `listingaccount`, `identifier`, `startDate`, `endDate`, `email`, `contact`, `name`, `address`, `city`, `county`, `state`, `zip`, `country`, `phone`, `fax`, `field4`, `field5`) VALUES (NEW.orderid, NEW.title, NEW.title_tag, NEW.description, NEW.desc_image, NEW.keywords, NEW.url, NEW.largeicon, NEW.smallicon,  NEW.multimedia, NEW.finalcategory, NEW.listinguser, NEW.listingaccount, NEW.identifier, NEW.startDate, NEW.endDate, NEW.email, NEW.contact, NEW.name, NEW.address, NEW.city, NEW.county, NEW.state, NEW.zip, NEW.country, NEW.phone, NEW.fax, NEW.field4, NEW.field5);
	
	OPEN videoad_csr;
	FETCH videoad_csr INTO l_videoadid;
	IF l_last_row_fetched = 1 THEN
		
		SET l_last_row_fetched = 0;
		OPEN videoad_ident;
		FETCH videoad_ident INTO l_videoadid, l_statusid;		
		IF l_last_row_fetched = 1 THEN
			SET l_videoadid = NEW.orderid;
		 	INSERT INTO `wwbn_videos` (`videoadid`, `createdate`, `title`, `title_tag`, `description`, `desc_image`, `keywords`, `largeicon`, `smallicon`, `categoryidkey`, `AMOP`, `listinguser`, `listingaccount`, `identifier`, `endDate`, `acct_id`, `email`, `revokedesc`, `mediaupdate`, `statusidkey`) VALUES(NEW.orderid, NEW.orderdate, NEW.title, NEW.title_tag, NEW.description, NEW.desc_image, NEW.keywords, NEW.largeicon, NEW.smallicon, NEW.finalcategory, NEW.AMOP, NEW.listinguser, NEW.listingaccount, NEW.identifier, CAST(NEW.endDate as DATETIME) + INTERVAL 1 DAY - INTERVAL 1 SECOND, NEW.acct_id, NEW.email, NEW.valdesc, 1, 2);

			INSERT INTO `wwbn_videos_location` (`videoidkey`, `contact`, `name`, `address`, `city`, `county`, `state`, `zip`, `country`, `phone`, `fax`) VALUES(NEW.orderid, NEW.contact, NEW.name, NEW.address, NEW.city, NEW.county, NEW.state, NEW.zip, NEW.country, NEW.phone, NEW.fax);
			
			IF NEW.url IS NOT NULL THEN
				INSERT INTO `wwbn_videos_urls` (`url`, `videoadidkey`, `url_label_id_key`, `url_primary`)
				VALUES (NEW.url, NEW.orderid, 1, 1);
			END IF;
			IF NEW.field4 IS NOT NULL THEN
				INSERT INTO `wwbn_videos_urls` (`url`, `videoadidkey`, `url_label_id_key`, `url_primary`)
				VALUES (NEW.field4, NEW.orderid, 2, 0);
			END IF;
			IF NEW.field5 IS NOT NULL THEN
				INSERT INTO `wwbn_videos_urls` (`url`, `videoadidkey`, `url_label_id_key`, `url_primary`)
				VALUES (NEW.field5, NEW.orderid, 14, 0);
			END IF;
		ELSEIF l_statusid = 6 THEN
			IF NEW.lpid <=> NULL THEN
				SET l_diststatus = 5;
			ELSE
				SET l_diststatus = 3;
			END IF;
		END IF;
	 			
		IF NEW.membercodeid IS NOT NULL THEN
			INSERT INTO `wwbn_distributions` (`videoadidkey`, `startDate`, `endDate`, `finalcategory`, `membercodeid`, `lpid`,`mediaupdate`, `statusidkey`, `distdate`) VALUES(l_videoadid, NEW.startDate, NEW.endDate, NEW.finalcategory, NEW.membercodeid, NEW.lpid, 1, l_diststatus, NEW.orderdate);
			
			SELECT @@IDENTITY INTO l_distid;
			IF l_distid IS NOT NULL THEN
				INSERT INTO `wwbn_distributions_changes` (`distidkey`, `startDate`, `endDate`, `finalcategory`, `diststatusidkey`, `memberidkey`, `acctidkey`, `datetime`) SELECT wwbn_distributions.distributionid, wwbn_distributions.startDate, wwbn_distributions.endDate, wwbn_distributions.finalcategory, 1, tblmm_members.memberid, tblmm_members.acct_id, wwbn_distributions.distdate FROM wwbn_distributions INNER JOIN wwbn_videos ON wwbn_videos.videoadid = wwbn_distributions.videoadidkey LEFT JOIN tblmm_members ON tblmm_members.username = wwbn_videos.listinguser WHERE wwbn_distributions.distributionid = l_distid;
			END IF;
		END IF;
	END IF;
END
;;
delimiter ;

-- ----------------------------
-- Triggers structure for table wwbn_distributions
-- ----------------------------
DROP TRIGGER IF EXISTS `wwbn_distributions_create`;
delimiter ;;
CREATE TRIGGER `wwbn_distributions_create` AFTER INSERT ON `wwbn_distributions` FOR EACH ROW BEGIN		
	INSERT INTO wwbn_distributions_changes (`distidkey`, `startDate`, `endDate`, `finalcategory`, `diststatusidkey`) VALUES(NEW.distributionid, NEW.startDate, NEW.endDate, NEW.finalcategory, NEW.statusidkey);
END
;;
delimiter ;

-- ----------------------------
-- Triggers structure for table wwbn_tubes
-- ----------------------------
DROP TRIGGER IF EXISTS `tube_update_rev`;
delimiter ;;
CREATE TRIGGER `tube_update_rev` BEFORE UPDATE ON `wwbn_tubes` FOR EACH ROW BEGIN
	DECLARE l_revision INT DEFAULT 0;
	DECLARE l_last_row_fetched INT DEFAULT 0;
	DECLARE order_csr CURSOR FOR SELECT revision FROM membercode WHERE membercodeid = NEW.membercodeid;
	DECLARE CONTINUE HANDLER FOR NOT FOUND SET l_last_row_fetched = 1;

	OPEN order_csr;
	FETCH order_csr INTO l_revision;	
	IF l_last_row_fetched = 0 AND l_revision = OLD.revision THEN		
		SET NEW.revision = OLD.revision + 1;
	END IF;
END
;;
delimiter ;

-- ----------------------------
-- Triggers structure for table wwbn_tubes
-- ----------------------------
DROP TRIGGER IF EXISTS `tube_create`;
delimiter ;;
CREATE TRIGGER `tube_create` AFTER INSERT ON `wwbn_tubes` FOR EACH ROW BEGIN
	DECLARE l_membercodeid INT;	
	DECLARE l_last_row_fetched INT DEFAULT 0;
	DECLARE order_csr CURSOR FOR SELECT membercodeid FROM membercode WHERE membercodeid = NEW.membercodeid;
	
	DECLARE CONTINUE HANDLER FOR NOT FOUND SET l_last_row_fetched = 1;		
	OPEN order_csr;
	FETCH order_csr INTO l_membercodeid;

	IF l_last_row_fetched = 1 THEN		
		INSERT INTO `membercode` (`membercodeid`, `sysnodeid`, `acct_id`, `last_update`, `application_date`, `activated`, `approval_date`, `featured`, `notes`, `category_id`, `category_level`, `productname`, `product_description`, `sales_description`, `producticon`, `pageviews`, `producturl`, `ipaddress`, `totalHits`, `PPL`, `revision`) VALUES (NEW.membercodeid, NEW.sysnodeid, NEW.acct_id, NEW.last_update, NEW.application_date,  IF(NEW.activated = 1, "True", "False") ,NEW.approval_date, NEW.featured, NEW.notes, NEW.category_id, NEW.category_level, NEW.productname, NEW.product_description, NEW.sales_description, NEW.producticon, NEW.pageviews, NEW.producturl, NEW.ipaddress, NEW.totalHits, NEW.PPL, NEW.revision);		
	END IF;
END
;;
delimiter ;

-- ----------------------------
-- Triggers structure for table wwbn_tubes
-- ----------------------------
DROP TRIGGER IF EXISTS `tube_update`;
delimiter ;;
CREATE TRIGGER `tube_update` AFTER UPDATE ON `wwbn_tubes` FOR EACH ROW BEGIN
	DECLARE l_revision INT DEFAULT 0;	
	DECLARE l_last_row_fetched INT DEFAULT 0;
	DECLARE order_csr CURSOR FOR SELECT revision FROM membercode WHERE membercodeid = NEW.membercodeid;
	
	DECLARE CONTINUE HANDLER FOR NOT FOUND SET l_last_row_fetched = 1;		
	OPEN order_csr;
	FETCH order_csr INTO l_revision;
	IF l_last_row_fetched = 0 AND l_revision < NEW.revision THEN
		UPDATE membercode SET 
		membercode.`sysnodeid` = NEW.sysnodeid,
		membercode.`acct_id` = NEW.acct_id,
		membercode.`last_update` = NEW.last_update,
		membercode.`application_date` = NEW.application_date,
		membercode.`activated` = IF(NEW.activated = 1,"True","False"),
		membercode.`approval_date` = NEW.approval_date,
		membercode.`featured` = NEW.featured,
		membercode.`notes` = NEW.notes,
		membercode.`category_id` = NEW.category_id,
		membercode.`category_level` = NEW.category_level,
		membercode.`productname` = NEW.productname,
		membercode.`product_description` = NEW.product_description,
		membercode.`sales_description` = NEW.sales_description,
		membercode.`producticon` = NEW.producticon,
		membercode.`pageviews` = NEW.pageviews,
		membercode.`producturl` = NEW.producturl,
		membercode.`ipaddress` = NEW.ipaddress,
		membercode.`totalHits` = NEW.totalHits,
		membercode.`PPL` = NEW.PPL,
		membercode.`revision` = NEW.revision
		WHERE membercode.membercodeid = NEW.membercodeid;	
	END IF;
END
;;
delimiter ;

-- ----------------------------
-- Triggers structure for table wwbn_tubes
-- ----------------------------
DROP TRIGGER IF EXISTS `tube_delete`;
delimiter ;;
CREATE TRIGGER `tube_delete` AFTER DELETE ON `wwbn_tubes` FOR EACH ROW BEGIN
	DECLARE l_membercodeid INT;	
	DECLARE l_last_row_fetched INT DEFAULT 0;
	DECLARE order_csr CURSOR FOR SELECT membercodeid FROM membercode WHERE membercodeid = OLD.membercodeid;
	
	DECLARE CONTINUE HANDLER FOR NOT FOUND SET l_last_row_fetched = 1;		
	OPEN order_csr;
	FETCH order_csr INTO l_membercodeid;		
		
	IF l_last_row_fetched = 0 THEN		
		DELETE FROM membercode WHERE membercodeid =  OLD.membercodeid;		
	END IF;	
END
;;
delimiter ;

-- ----------------------------
-- Triggers structure for table wwbn_videos
-- ----------------------------
DROP TRIGGER IF EXISTS `video_create`;
delimiter ;;
CREATE TRIGGER `video_create` AFTER INSERT ON `wwbn_videos` FOR EACH ROW BEGIN
	DECLARE l_videoadid INT DEFAULT NULL;
	INSERT INTO `wwbn_videos_changes` (`videoadidkey`, `changedate`, `title`, `title_tag`, `description`, `desc_image`, `keywords`, `largeicon`, `smallicon`, `categoryidkey`, `AMOP`, `listinguser`, `listingaccount`, `endDate`, `email`, `statusidkey`) VALUES (NEW.videoadid, NEW.createdate, NEW.title, NEW.title_tag, NEW.description, NEW.desc_image, NEW.keywords, NEW.largeicon, NEW.smallicon, categoryidkey, NEW.AMOP, NEW.listinguser, NEW.listingaccount, NEW.endDate, NEW.email, NEW.statusidkey);			
END
;;
delimiter ;

