aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-09-10 15:56:59 -0700
committerfriendica <info@friendica.com>2013-09-10 15:56:59 -0700
commit5aaf8b8e9940d99befd00619238cd20c3894e5a9 (patch)
treeeb8b0af65106d58ed4aeb827789c6102d745bea6 /install/update.php
parent58490a4a8098430ed32d0483638d1c6ea3e7ac49 (diff)
parentf93e92c260ca4ef248e5b079b1cd02a4a7d08d6c (diff)
downloadvolse-hubzilla-5aaf8b8e9940d99befd00619238cd20c3894e5a9.tar.gz
volse-hubzilla-5aaf8b8e9940d99befd00619238cd20c3894e5a9.tar.bz2
volse-hubzilla-5aaf8b8e9940d99befd00619238cd20c3894e5a9.zip
Merge pull request #126 from MicMee/master
extends DB in hubloc to maintain hubloc connectivity
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index 1b6a2218e..24aed374d 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1068 );
+define( 'UPDATE_VERSION' , 1069 );
/**
*
@@ -782,3 +782,10 @@ function update_r1067() {
return UPDATE_FAILED;
}
+function update_r1068(){
+ $r = q("ALTER TABLE `hubloc` ADD `hubloc_status` INT UNSIGNED NOT NULL DEFAULT '0' AFTER `hubloc_flags` , ADD INDEX ( `hubloc_status` )");
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}
+