From e17ba14696d6ee7532bacce6b5519594e001f13f Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 4 Dec 2012 18:24:46 -0800 Subject: DB: do the mail table again. Mail almost working onsite, still needs to zot though --- install/database.sql | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'install') diff --git a/install/database.sql b/install/database.sql index bcdf969c4..24c9b9922 100644 --- a/install/database.sql +++ b/install/database.sql @@ -594,7 +594,8 @@ CREATE TABLE IF NOT EXISTS `item_id` ( CREATE TABLE IF NOT EXISTS `mail` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `mail_flags` int(10) unsigned NOT NULL DEFAULT '0', - `author_xchan` char(255) NOT NULL DEFAULT '', + `from_xchan` char(255) NOT NULL DEFAULT '', + `to_xchan` char(255) NOT NULL DEFAULT '', `account_id` int(10) unsigned NOT NULL DEFAULT '0', `channel_id` int(10) unsigned NOT NULL, `title` char(255) NOT NULL, @@ -606,11 +607,12 @@ CREATE TABLE IF NOT EXISTS `mail` ( KEY `uri` (`uri`), KEY `created` (`created`), KEY `mail_flags` (`mail_flags`), - KEY `author_xchan` (`author_xchan`), KEY `account_id` (`account_id`), KEY `channel_id` (`channel_id`), - KEY `parent_uri` (`parent_uri`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; + KEY `parent_uri` (`parent_uri`), + KEY `from_xchan` (`from_xchan`), + KEY `to_xchan` (`to_xchan`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `manage` ( `id` int(11) NOT NULL AUTO_INCREMENT, -- cgit v1.2.3