diff options
author | friendica <info@friendica.com> | 2014-02-04 00:52:34 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-02-04 00:52:34 -0800 |
commit | d8f16442a1ca7d0be18dedd52c0f4eb339ba19b6 (patch) | |
tree | 60cff2d8d21741cbfc9093a467238af44c45c282 /install/update.php | |
parent | 1572403e980b013e211de1d317631551dfe5f304 (diff) | |
download | volse-hubzilla-d8f16442a1ca7d0be18dedd52c0f4eb339ba19b6.tar.gz volse-hubzilla-d8f16442a1ca7d0be18dedd52c0f4eb339ba19b6.tar.bz2 volse-hubzilla-d8f16442a1ca7d0be18dedd52c0f4eb339ba19b6.zip |
bookmark permissions
Diffstat (limited to 'install/update.php')
-rw-r--r-- | install/update.php | 10 |
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; +} + |