]> git.mxchange.org Git - friendica-addons.git/blob - mailstream/database.sql
Merge pull request #519 from rabuzarus/20180206_-_membersince_frio_support
[friendica-addons.git] / mailstream / database.sql
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,
9        PRIMARY KEY (`id`),
10        KEY `message-id` (`message-id`),
11        KEY `created` (`created`),
12        KEY `completed` (`completed`)
13 ) DEFAULT CHARSET=utf8 COLLATE=utf8_bin;