aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-03-31 16:30:04 -0700
committerfriendica <info@friendica.com>2014-03-31 16:30:04 -0700
commit03c53502cb7770d9994776d9a2818c4621befb66 (patch)
tree70e3fb10379dfb3adc324aa289dca73e80bf4856 /install/update.php
parent57a9ba4574e61a803c0a732135fe457733901850 (diff)
parent421df717fecba69a952167ceb8cb4e58f0b4db39 (diff)
downloadvolse-hubzilla-03c53502cb7770d9994776d9a2818c4621befb66.tar.gz
volse-hubzilla-03c53502cb7770d9994776d9a2818c4621befb66.tar.bz2
volse-hubzilla-03c53502cb7770d9994776d9a2818c4621befb66.zip
Merge branch 'route'
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 06a60db79..55e404e4e 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1104 );
+define( 'UPDATE_VERSION' , 1105 );
/**
*
@@ -1166,3 +1166,10 @@ function update_r1103() {
set_config('system','curl_ssl_ciphers','ALL:!eNULL');
return UPDATE_SUCCESS;
}
+
+function update_r1104() {
+ $r = q("ALTER TABLE `item` ADD `route` TEXT NOT NULL DEFAULT '' AFTER `postopts` ");
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}