aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-09-22 02:32:04 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-09-22 02:32:04 -0700
commit0b1b11ea53ee3fd466eb338ac5ce67e62af87413 (patch)
tree7bdda0d64e1bf27f860af620dcab160c470664cc /install/update.php
parent146ff6f70308647b27374a1bba386c156498bd2e (diff)
downloadvolse-hubzilla-0b1b11ea53ee3fd466eb338ac5ce67e62af87413.tar.gz
volse-hubzilla-0b1b11ea53ee3fd466eb338ac5ce67e62af87413.tar.bz2
volse-hubzilla-0b1b11ea53ee3fd466eb338ac5ce67e62af87413.zip
heavy lifting for delivery reports
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;
+
+
+}