aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-08-20 22:13:25 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-08-20 22:13:25 -0700
commitfef93af0a6908fdcb8d829229de8717acfc7ed81 (patch)
treea81d88a1acc853b1a3419e0949babfa8182144a8 /install/update.php
parentc96f121d4189e758392fb7796f7d87f37597cc78 (diff)
downloadvolse-hubzilla-fef93af0a6908fdcb8d829229de8717acfc7ed81.tar.gz
volse-hubzilla-fef93af0a6908fdcb8d829229de8717acfc7ed81.tar.bz2
volse-hubzilla-fef93af0a6908fdcb8d829229de8717acfc7ed81.zip
missed this one - it's required
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index fa15cac6b..e5542b9cf 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1147 );
+define( 'UPDATE_VERSION' , 1148 );
/**
*
@@ -1705,3 +1705,11 @@ function update_r1146() {
return UPDATE_FAILED;
}
+function update_r1147() {
+
+ $r1 = q("alter table event add event_priority smallint not null default '0' ");
+ $r2 = q("create index event_priority on event ( event_priority ) ");
+ if($r1 && $r2)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+} \ No newline at end of file