allow objects to have permissions

This commit is contained in:
friendica
2013-12-28 16:05:03 -08:00
parent 1d0fddd39c
commit aacd3164fa
3 changed files with 16 additions and 2 deletions

View File

@@ -592,6 +592,10 @@ CREATE TABLE IF NOT EXISTS `obj` (
`obj_type` int(10) unsigned NOT NULL DEFAULT '0',
`obj_obj` char(255) NOT NULL DEFAULT '',
`obj_channel` int(10) unsigned NOT NULL DEFAULT '0',
`allow_cid` MEDIUMTEXT NOT NULL DEFAULT '',
`allow_gid` MEDIUMTEXT NOT NULL DEFAULT '',
`deny_cid` MEDIUMTEXT NOT NULL DEFAULT '',
`deny_gid` MEDIUMTEXT NOT NULL DEFAULT '',
PRIMARY KEY (`obj_id`),
KEY `obj_verb` (`obj_verb`),
KEY `obj_page` (`obj_page`),