Retriever version 1.0

This commit is contained in:
Matthew Exon 2016-02-03 10:13:09 +01:00
parent 381e23da12
commit 45cc7c6cd1
7 changed files with 236 additions and 138 deletions

View file

@ -14,7 +14,6 @@ CREATE TABLE IF NOT EXISTS `retriever_item` (
`item-uid` int(10) unsigned NOT NULL DEFAULT '0',
`contact-id` int(10) unsigned NOT NULL DEFAULT '0',
`resource` int(11) NOT NULL,
`parent` int(11) NOT NULL,
`finished` tinyint(1) unsigned NOT NULL DEFAULT '0',
KEY `resource` (`resource`),
KEY `all` (`item-uri`, `item-uid`, `contact-id`),
@ -31,5 +30,7 @@ CREATE TABLE IF NOT EXISTS `retriever_resource` (
`last-try` timestamp NULL DEFAULT NULL,
`num-tries` int(11) NOT NULL DEFAULT 0,
`data` mediumtext NOT NULL,
`http-code` smallint(1) unsigned NULL DEFAULT NULL,
`redirect-url` varchar(800) CHARACTER SET ascii COLLATE ascii_bin NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin