새 메시지 시스템 통합 준비 완료

This commit is contained in:
2018-03-01 18:36:29 +09:00
parent 33cc00cced
commit de4c2e0678
3 changed files with 60 additions and 19 deletions
+1 -4
View File
@@ -503,13 +503,10 @@ 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_owner` (`mailbox`, `time`),
INDEX `by_dest` (`dest`, `time`),
INDEX `by_full` (`src`, `dest`, `time`)
INDEX `by_mailbox` (`mailbox`, `type`, `time`)
)
COLLATE='utf8_general_ci'
ENGINE=InnoDB
;
";