aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorzottel <github@zottel.net>2015-09-23 08:59:28 +0200
committerzottel <github@zottel.net>2015-09-23 08:59:28 +0200
commit0bfdb45b414b477573b6389e7730d8f93f53993e (patch)
tree114c0dc95c4cf3baa514de13ca2ed0c1759dd388 /install/update.php
parent032ef0ca3495cf4a1caaf1a6ea8000c17aba0ba5 (diff)
parentf506f73d3fc80fb68f63f654b5e93a6920780d6f (diff)
downloadvolse-hubzilla-0bfdb45b414b477573b6389e7730d8f93f53993e.tar.gz
volse-hubzilla-0bfdb45b414b477573b6389e7730d8f93f53993e.tar.bz2
volse-hubzilla-0bfdb45b414b477573b6389e7730d8f93f53993e.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php13
1 files changed, 12 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index cf35698df..bef754570 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1153 );
+define( 'UPDATE_VERSION' , 1154 );
/**
*
@@ -1854,3 +1854,14 @@ function update_r1152() {
return UPDATE_FAILED;
}
+
+function update_r1153() {
+
+ $r1 = q("ALTER TABLE dreport ADD dreport_queue CHAR( 255 ) NOT NULL DEFAULT '' ");
+ $r2 = q("create index dreport_queue on dreport ( dreport_queue) ");
+ if($r1 && $r2)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+
+
+}