전체 메시지 안 보내지던 것 수정

10초마다 메시지
This commit is contained in:
2018-04-21 13:06:10 +09:00
parent 243604d6c1
commit 481494a885
4 changed files with 15 additions and 18 deletions
+1 -1
View File
@@ -419,7 +419,7 @@ CREATE TABLE `message` (
`valid_until` DATETIME NOT NULL DEFAULT '9999-12-31 23:59:59',
`message` TEXT NOT NULL COMMENT 'json',
PRIMARY KEY (`id`),
INDEX `by_mailbox` (`mailbox`, `type`, `time`)
INDEX `by_mailbox` (`mailbox`, `type`, `id`)
)
DEFAULT CHARSET=utf8mb4
ENGINE=InnoDB;