2013-03-15 09:20:25 +00:00
|
|
|
CREATE TABLE IF NOT EXISTS `mailstream_item` (
|
|
|
|
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
|
|
|
`uid` int(11) NOT NULL,
|
|
|
|
`contact-id` int(11) NOT NULL,
|
|
|
|
`uri` char(255) NOT NULL,
|
|
|
|
`message-id` char(255) NOT NULL,
|
2013-04-01 00:32:06 +00:00
|
|
|
`created` timestamp NOT NULL DEFAULT now(),
|
2013-03-15 09:20:25 +00:00
|
|
|
`completed` timestamp NULL DEFAULT NULL,
|
|
|
|
PRIMARY KEY (`id`),
|
|
|
|
KEY `message-id` (`message-id`),
|
|
|
|
KEY `created` (`created`),
|
|
|
|
KEY `completed` (`completed`)
|
2016-12-17 16:32:31 +00:00
|
|
|
) DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|