1 CREATE TABLE IF NOT EXISTS `mailstream_item` (
2 `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
3 `uid` int(11) NOT NULL,
4 `contact-id` int(11) NOT NULL,
5 `uri` char(255) NOT NULL,
6 `message-id` char(255) NOT NULL,
7 `created` timestamp NOT NULL DEFAULT now(),
8 `completed` timestamp NULL DEFAULT NULL,
10 KEY `message-id` (`message-id`),
11 KEY `created` (`created`),
12 KEY `completed` (`completed`)
13 ) DEFAULT CHARSET=utf8 COLLATE=utf8_bin;