aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
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 /update.php
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 'update.php')
-rw-r--r--update.php13
1 files changed, 12 insertions, 1 deletions
diff --git a/update.php b/update.php
index 113bc590a..45169f1ef 100644
--- a/update.php
+++ b/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1105 );
+define( 'UPDATE_VERSION' , 1106 );
/**
*
@@ -900,6 +900,17 @@ function update_1104() {
}
+function update_1105() {
+ q("ALTER TABLE `mail` ADD `convid` INT NOT NULL AFTER `contact-id` ");
+ q("ALTER TABLE `mail` ADD `guid` CHAR( 64 ) NOT NULL AFTER `uid` ");
+
+ q("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 ");
+}