Simple Linux Panel
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
mdserver-web/plugins/qbittorrent/conf/qb.sql

34 lines
1.1 KiB

CREATE TABLE `pl_hash_list` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`name` text NOT NULL,
`info_hash` varchar(40) NOT NULL,
`length` bigint(20) NOT NULL,
`status` int(10) NOT NULL DEFAULT '0',
`create_time` datetime NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `info_hash` (`info_hash`),
KEY `create_time` (`create_time`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE `pl_hash_file` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`pid` bigint(20) NOT NULL,
`name` text NOT NULL,
`m3u8` varchar(40) NOT NULL,
`key` char(40) NULL DEFAULT '',
`length` bigint(20) NULL DEFAULT 0,
`create_time` datetime NOT NULL,
PRIMARY KEY (`id`),
KEY `create_time` (`create_time`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE `pl_hash_queue` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`info_hash` char(40) NOT NULL,
`length` bigint(20) NOT NULL DEFAULT 0,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`),
INDEX `length`(`length`) USING BTREE,
KEY `created_at` (`created_at`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;