aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authormarijus <mario@localhost.localdomain>2014-02-05 13:43:16 +0100
committermarijus <mario@localhost.localdomain>2014-02-05 13:43:16 +0100
commit9e993bb4fd7e6ff6ba44586479371c163ee6aad8 (patch)
treed3754aa1d251308eb6178fe4ab138463ceaaf135 /install/update.php
parent4253581733d4c6c7f0dce5c3ea7566c6af4af936 (diff)
parent0844110f7b154a0fb5102362fe732c2b091222d7 (diff)
downloadvolse-hubzilla-9e993bb4fd7e6ff6ba44586479371c163ee6aad8.tar.gz
volse-hubzilla-9e993bb4fd7e6ff6ba44586479371c163ee6aad8.tar.bz2
volse-hubzilla-9e993bb4fd7e6ff6ba44586479371c163ee6aad8.zip
Merge branch 'master' of https://github.com/friendica/red
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 e8b6d37f6..93442a81f 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1095 );
+define( 'UPDATE_VERSION' , 1096 );
/**
*
@@ -1069,3 +1069,11 @@ ADD INDEX ( `cr_expire` )");
return UPDATE_FAILED;
}
+function update_r1095() {
+ $r = q("ALTER TABLE `channel` ADD `channel_a_bookmark` INT UNSIGNED NOT NULL DEFAULT '128',
+ADD INDEX ( `channel_a_bookmark` )");
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}
+