add queue priority

This commit is contained in:
friendica
2015-03-04 17:56:07 -08:00
parent 410f3335a9
commit 011ccd57f6
5 changed files with 34 additions and 3 deletions

View File

@@ -940,6 +940,7 @@ CREATE TABLE IF NOT EXISTS `outq` (
`outq_updated` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`outq_notify` mediumtext NOT NULL,
`outq_msg` mediumtext NOT NULL,
`outq_priority` smallint NOT NULL DEFAULT '0',
PRIMARY KEY (`outq_hash`),
KEY `outq_account` (`outq_account`),
KEY `outq_channel` (`outq_channel`),
@@ -947,7 +948,8 @@ CREATE TABLE IF NOT EXISTS `outq` (
KEY `outq_created` (`outq_created`),
KEY `outq_updated` (`outq_updated`),
KEY `outq_async` (`outq_async`),
KEY `outq_delivered` (`outq_delivered`)
KEY `outq_delivered` (`outq_delivered`),
KEY `outq_priority` (`outq_priority`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------