diff --git a/database.sql b/database.sql index 737337900d..2dac4b6ca9 100644 --- a/database.sql +++ b/database.sql @@ -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 'The used transport protocol - can be different per 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',