aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-11-18 22:04:41 -0800
committerfriendica <info@friendica.com>2011-11-18 22:04:41 -0800
commitfd4fe24406edb277814c7a45a6094a8eec0850d7 (patch)
tree7db5bceb30a569b035c600313a9dbbf66b14abac /update.php
parent485f97b3d8937f219e2b9f3c662ee0e1966130eb (diff)
parent6893df991edfe971871a5db45055b40b871a7a4f (diff)
downloadvolse-hubzilla-fd4fe24406edb277814c7a45a6094a8eec0850d7.tar.gz
volse-hubzilla-fd4fe24406edb277814c7a45a6094a8eec0850d7.tar.bz2
volse-hubzilla-fd4fe24406edb277814c7a45a6094a8eec0850d7.zip
Merge branch 'master' into groups
Diffstat (limited to 'update.php')
-rw-r--r--update.php18
1 files changed, 17 insertions, 1 deletions
diff --git a/update.php b/update.php
index 362935c38..96fdec691 100644
--- a/update.php
+++ b/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1103 );
+define( 'UPDATE_VERSION' , 1105 );
/**
*
@@ -884,6 +884,22 @@ function update_1102() {
}
+function update_1103() {
+ q("ALTER TABLE `item` ADD INDEX ( `wall` ) ");
+ q("ALTER TABLE `item` ADD FULLTEXT ( `tag` ) ");
+ q("ALTER TABLE `contact` ADD INDEX ( `pending` ) ");
+ q("ALTER TABLE `user` ADD INDEX ( `hidewall` ) ");
+ q("ALTER TABLE `user` ADD INDEX ( `blockwall` ) ");
+ q("ALTER TABLE `user` ADD INDEX ( `blocked` ) ");
+ q("ALTER TABLE `user` ADD INDEX ( `verified` ) ");
+
+}
+
+function update_1104() {
+ q("ALTER TABLE `item` ADD `forum_mode` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `origin` , ADD INDEX ( `forum_mode` ) ");
+
+}
+