aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2015-09-22 19:02:20 +0200
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2015-09-22 19:02:20 +0200
commitd7c9f2ccba1f0a19c3b60281589ab7dd611c744b (patch)
tree9cf73bfaed9b8ad3c7c3239ce2b8e1baa57c9b62 /install/update.php
parentcbd7f8906674f6373f0dc6a8f79ecfcd4ce4bd8d (diff)
parent7dd61c05dcf169807aed91d305ea235bcaa9035e (diff)
downloadvolse-hubzilla-d7c9f2ccba1f0a19c3b60281589ab7dd611c744b.tar.gz
volse-hubzilla-d7c9f2ccba1f0a19c3b60281589ab7dd611c744b.tar.bz2
volse-hubzilla-d7c9f2ccba1f0a19c3b60281589ab7dd611c744b.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;
+
+
+}