Extractor upgrade
This commit is contained in:
@@ -1,6 +1,25 @@
|
||||
create database if not exists `intimate_extractor`;
|
||||
use intimate_extractor;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `streamer_list` (
|
||||
`urlhash` varchar(32) NOT NULL COMMENT '平台',
|
||||
`url` text COMMENT 'url获取streamer列表的url',
|
||||
`platform` varchar(255) NOT NULL COMMENT '平台',
|
||||
`label` varchar(255) DEFAULT NULL COMMENT '必须的时候打上标签',
|
||||
`serialize` blob DEFAULT NULL COMMENT '保存进程的必要计算数据',
|
||||
|
||||
`update_interval` int DEFAULT 120 COMMENT '分钟单位, 默认120分钟, 下次更新的时间间隔',
|
||||
`update_time` Timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
|
||||
|
||||
`error_msg` text DEFAULT NULL COMMENT '错误信息',
|
||||
`operator` int DEFAULT 0 COMMENT '操作标志位, 根据不同解析方法有不同标志',
|
||||
|
||||
PRIMARY KEY (`urlhash`),
|
||||
KEY `platform_idx` (`platform`),
|
||||
KEY `update_time_idx` (`update_time`),
|
||||
KEY `operator_idx` (`operator`)
|
||||
)
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `streamer` (
|
||||
`uid` bigint AUTO_INCREMENT COMMENT '自增UID, 便于查询定位',
|
||||
`platform` varchar(255) NOT NULL COMMENT '平台',
|
||||
|
||||
Reference in New Issue
Block a user