aboutsummaryrefslogtreecommitdiffstats
path: root/database.sql
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-11-27 17:41:23 -0800
committerfriendica <info@friendica.com>2011-11-27 17:41:23 -0800
commitccef8995779d8b97e0bd9965eee5c592101969de (patch)
tree45408e7e5b539f2d00dc15ed6de96820df2fbd4a /database.sql
parentd9e1ebfc48a2dee1c5c7be525dbdd3053ade334a (diff)
downloadvolse-hubzilla-ccef8995779d8b97e0bd9965eee5c592101969de.tar.gz
volse-hubzilla-ccef8995779d8b97e0bd9965eee5c592101969de.tar.bz2
volse-hubzilla-ccef8995779d8b97e0bd9965eee5c592101969de.zip
start of d* private mail, dba without mysqli
Diffstat (limited to 'database.sql')
-rw-r--r--database.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/database.sql b/database.sql
index ffe9bb907..0599dd3e4 100644
--- a/database.sql
+++ b/database.sql
@@ -266,10 +266,12 @@ CREATE TABLE IF NOT EXISTS `item` (
CREATE TABLE IF NOT EXISTS `mail` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`uid` int(10) unsigned NOT NULL,
+ `guid` char(64) NOT NULL,
`from-name` char(255) NOT NULL,
`from-photo` char(255) NOT NULL,
`from-url` char(255) NOT NULL,
`contact-id` char(255) NOT NULL,
+ `convid` int(10) unsigned NOT NULL,
`title` char(255) NOT NULL,
`body` mediumtext NOT NULL,
`seen` tinyint(1) NOT NULL,
@@ -703,3 +705,10 @@ INDEX ( `uid` ),
INDEX ( `gcid` )
) ENGINE = MyISAM DEFAULT CHARSET=utf8;
+
+CREATE TABLE IF NOT EXISTS `conv` (
+ `id` INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY ,
+ `guid` CHAR( 64 ) NOT NULL ,
+ `recips` MEDIUMTEXT NOT NULL ,
+ `uid` INT NOT NULL
+) ENGINE = MyISAM DEFAULT CHARSET=utf8;