]> git.mxchange.org Git - friendica.git/blobdiff - database.sql
Display posts that are reshared by the contact
[friendica.git] / database.sql
index 737337900d61ae5d177f1f3299a050ae1f1bcf28..8564a8ba02d58bd36ce8814378d6c70bf641dccf 100644 (file)
@@ -1,6 +1,6 @@
 -- ------------------------------------------
 -- Friendica 2020.12-dev (Red Hot Poker)
--- DB_UPDATE_VERSION 1380
+-- DB_UPDATE_VERSION 1381
 -- ------------------------------------------
 
 
@@ -1140,6 +1140,7 @@ CREATE TABLE IF NOT EXISTS `post-tag` (
 CREATE TABLE IF NOT EXISTS `post-user` (
        `uri-id` int unsigned NOT NULL COMMENT 'Id of the item-uri table entry that contains the item uri',
        `uid` mediumint unsigned NOT NULL COMMENT 'Owner id which owns this copy of the item',
+       `protocol` tinyint unsigned COMMENT 'Protocol used to deliver the item for this user',
        `contact-id` int unsigned NOT NULL DEFAULT 0 COMMENT 'contact.id',
        `unseen` boolean NOT NULL DEFAULT '1' COMMENT 'post has not been seen',
        `hidden` boolean NOT NULL DEFAULT '0' COMMENT 'Marker to hide the post from the user',
@@ -1755,4 +1756,3 @@ CREATE VIEW `workerqueue-view` AS SELECT
                        INNER JOIN `workerqueue` ON `workerqueue`.`pid` = `process`.`pid`
                        WHERE NOT `workerqueue`.`done`;
 
-