aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-04 19:20:29 -0700
committerzotlabs <mike@macgirvin.com>2017-05-04 19:20:29 -0700
commite308c3d34afda1c467b049314324faa546294c9a (patch)
tree81352041e9dd94700e8be158ddda7ee66fea68f4 /install/update.php
parent977677d0051db24c6b7666a73c4dd6a48fe89377 (diff)
parent5c7acf4807aa427cf1391e0a5d044b453c38e619 (diff)
downloadvolse-hubzilla-e308c3d34afda1c467b049314324faa546294c9a.tar.gz
volse-hubzilla-e308c3d34afda1c467b049314324faa546294c9a.tar.bz2
volse-hubzilla-e308c3d34afda1c467b049314324faa546294c9a.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index ce65d1db9..65506a2f7 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1190 );
+define( 'UPDATE_VERSION' , 1191 );
/**
*
@@ -2532,3 +2532,12 @@ function update_r1189() {
}
+function update_r1190() {
+ $r1 = q("alter table abook add abook_not_here int(11) not null default '0' ");
+
+ $r2 = q("create index abook_not_here on abook (abook_not_here)");
+
+ if($r1 && $r2)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}