finish up the source route storage so we can prevent messages from flowing upstream in complicated delivery chains

This commit is contained in:
friendica
2014-03-31 16:25:05 -07:00
parent 1108eaaed0
commit ced6d82633
4 changed files with 31 additions and 30 deletions

View File

@@ -470,31 +470,32 @@ CREATE TABLE IF NOT EXISTS `item` (
`author_xchan` char(255) NOT NULL DEFAULT '',
`source_xchan` char(255) NOT NULL DEFAULT '',
`mimetype` char(255) NOT NULL DEFAULT '',
`title` text NOT NULL,
`body` mediumtext NOT NULL,
`title` text NOT NULL DEFAULT '',
`body` mediumtext NOT NULL DEFAULT '',
`app` char(255) NOT NULL DEFAULT '',
`lang` char(64) NOT NULL DEFAULT '',
`revision` int(10) unsigned NOT NULL DEFAULT '0',
`verb` char(255) NOT NULL DEFAULT '',
`obj_type` char(255) NOT NULL DEFAULT '',
`object` text NOT NULL,
`object` text NOT NULL DEFAULT '',
`tgt_type` char(255) NOT NULL DEFAULT '',
`target` text NOT NULL,
`target` text NOT NULL DEFAULT '',
`layout_mid` char(255) NOT NULL DEFAULT '',
`postopts` text NOT NULL,
`postopts` text NOT NULL DEFAULT '',
`route` text NOT NULL DEFAULT '',
`llink` char(255) NOT NULL DEFAULT '',
`plink` char(255) NOT NULL DEFAULT '',
`resource_id` char(255) NOT NULL DEFAULT '',
`resource_type` char(16) NOT NULL DEFAULT '',
`attach` mediumtext NOT NULL,
`sig` text NOT NULL,
`attach` mediumtext NOT NULL DEFAULT '',
`sig` text NOT NULL DEFAULT '',
`location` char(255) NOT NULL DEFAULT '',
`coord` char(255) NOT NULL DEFAULT '',
`comment_policy` char(255) NOT NULL DEFAULT '',
`allow_cid` mediumtext NOT NULL,
`allow_gid` mediumtext NOT NULL,
`deny_cid` mediumtext NOT NULL,
`deny_gid` mediumtext NOT NULL,
`allow_cid` mediumtext NOT NULL DEFAULT '',
`allow_gid` mediumtext NOT NULL DEFAULT '',
`deny_cid` mediumtext NOT NULL DEFAULT '',
`deny_gid` mediumtext NOT NULL DEFAULT '',
`item_restrict` int(11) NOT NULL DEFAULT '0',
`item_flags` int(11) NOT NULL DEFAULT '0',
`item_private` tinyint(4) NOT NULL DEFAULT '0',