]> git.mxchange.org Git - friendica-addons.git/blobdiff - retriever/database.sql
Retriever version 1.0
[friendica-addons.git] / retriever / database.sql
index 2513dd281b130bd03ea13cc36ab7951bd58a1138..1661c1696ec6cda341c9a31a62168c4545dde360 100644 (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