mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 21:35:13 +00:00
schema fixes
This commit is contained in:
parent
07ee4984cb
commit
36a960adec
2 changed files with 7 additions and 3 deletions
|
@ -373,6 +373,10 @@ class Like extends \Zotlabs\Web\Controller {
|
|||
|
||||
$links = array(array('rel' => 'alternate','type' => 'text/html', 'href' => $item['plink']));
|
||||
$objtype = (($item['resource_type'] === 'photo') ? ACTIVITY_OBJ_PHOTO : ACTIVITY_OBJ_NOTE );
|
||||
|
||||
if($objtype === ACTIVITY_OBJ_NOTE && (! intval($item['item_thread_top'])))
|
||||
$objtype = ACTIVITY_OBJ_COMMENT;
|
||||
|
||||
|
||||
$body = $item['body'];
|
||||
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
CREATE TABLE IF NOT EXISTS `abconfig` (
|
||||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`chan` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`xchan` char(255) NOT NULL DEFAULT '',
|
||||
`cat` char(255) NOT NULL DEFAULT '',
|
||||
`k` char(255) NOT NULL DEFAULT '',
|
||||
`xchan` char(191) NOT NULL DEFAULT '',
|
||||
`cat` char(191) NOT NULL DEFAULT '',
|
||||
`k` char(191) NOT NULL DEFAULT '',
|
||||
`v` mediumtext NOT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `chan` (`chan`),
|
||||
|
|
Loading…
Reference in a new issue