feapder/tests/batch-spider/table.sql

24 lines
851 B
SQL

-- ----------------------------
-- Table structure for spider_data
-- ----------------------------
CREATE TABLE `spider_data` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
-- ----------------------------
-- Table structure for batch_spider_task
-- ----------------------------
CREATE TABLE `batch_spider_task` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`url` varchar(255) DEFAULT NULL,
`state` int(11) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
-- ----------------------------
-- Records of batch_spider_task
-- ----------------------------
INSERT INTO `batch_spider_task` VALUES (1, 'https://www.baidu.com', 0);