fix listeners table create and expire federation had a syntax error
This commit is contained in:
parent
fdc89d1b89
commit
cc5ef57843
@ -60,7 +60,7 @@ class Cron {
|
|||||||
drop_item($rr['id'],false,(($rr['item_wall']) ? DROPITEM_PHASE1 : DROPITEM_NORMAL));
|
drop_item($rr['id'],false,(($rr['item_wall']) ? DROPITEM_PHASE1 : DROPITEM_NORMAL));
|
||||||
if($rr['item_wall']) {
|
if($rr['item_wall']) {
|
||||||
// The notifier isn't normally invoked unless item_drop is interactive.
|
// The notifier isn't normally invoked unless item_drop is interactive.
|
||||||
Zotlabs\Daemon\Master::Summon( [ 'Notifier', 'drop', $rr['id'] ] );
|
Master::Summon( [ 'Notifier', 'drop', $rr['id'] ] );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -26,14 +26,14 @@ class _1220 {
|
|||||||
if(ACTIVE_DBTYPE == DBTYPE_MYSQL) {
|
if(ACTIVE_DBTYPE == DBTYPE_MYSQL) {
|
||||||
$r = q("CREATE TABLE IF NOT EXISTS listeners (
|
$r = q("CREATE TABLE IF NOT EXISTS listeners (
|
||||||
id int(11) NOT NULL AUTO_INCREMENT,
|
id int(11) NOT NULL AUTO_INCREMENT,
|
||||||
target_id varchar(191) CHARACTER SET utf8mb4 NOT NULL DEFAULT '',
|
target_id varchar(191) NOT NULL DEFAULT '',
|
||||||
portable_id varchar(191) CHARACTER SET utf8mb4 NOT NULL DEFAULT '',
|
portable_id varchar(191) NOT NULL DEFAULT '',
|
||||||
ltype int(11) NOT NULL DEFAULT '0',
|
ltype int(11) NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (id),
|
PRIMARY KEY (id),
|
||||||
KEY target_id (target_id),
|
KEY target_id (target_id),
|
||||||
KEY portable_id (portable_id),
|
KEY portable_id (portable_id),
|
||||||
KEY ltype (ltype)
|
KEY ltype (ltype)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8");
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user