Update qb.sql

pull/109/head
Mr Chen 6 years ago
parent 69f4814575
commit e3c9f30a64
  1. 14
      plugins/qbittorrent/conf/qb.sql

@ -1,5 +1,5 @@
CREATE TABLE `pl_hash_list` ( CREATE TABLE `pl_hash_list` (
`id` int(11) NOT NULL AUTO_INCREMENT, `id` bigint(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL, `name` varchar(255) NOT NULL,
`info_hash` varchar(40) NOT NULL, `info_hash` varchar(40) NOT NULL,
`length` bigint(20) NOT NULL, `length` bigint(20) NOT NULL,
@ -7,4 +7,16 @@ CREATE TABLE `pl_hash_list` (
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
UNIQUE KEY `info_hash` (`info_hash`), UNIQUE KEY `info_hash` (`info_hash`),
KEY `create_time` (`create_time`) KEY `create_time` (`create_time`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE `pl_hash_file` (
`id` bigint(11) NOT NULL AUTO_INCREMENT,
`pid` bigint(11) NOT NULL,
`name` varchar(40) NOT NULL,
`m3u8` varchar(40) NOT NULL,
`length` bigint(20) NOT NULL,
`create_time` datetime NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `info_hash` (`info_hash`),
KEY `create_time` (`create_time`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
Loading…
Cancel
Save