friendica-addons/mailstream/database.sql
Matthew Exon fa35dfe69d Use new templating style
Add two templates that I forgot to checkin last time
Switch to utf8_bin collation
Separate "Local" and "Upstream" links
Translate "Submit" button
Fix some debug statements
2013-03-23 12:00:59 +08:00

13 lines
538 B
SQL

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,
`created` timestamp NOT NULL DEFAULT now()',
`completed` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `message-id` (`message-id`),
KEY `created` (`created`),
KEY `completed` (`completed`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATION=utf8_bin;