diff options
author | friendica <info@friendica.com> | 2013-02-15 22:34:01 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-02-15 22:34:01 -0800 |
commit | e754845c80e3bf038d808c6502cf3dec5880e1f6 (patch) | |
tree | 818e54f307e1de5ded24613da18099ff7d40406d /install/update.php | |
parent | ace1104d08715ffb4d7ada722adeb53206236a50 (diff) | |
download | volse-hubzilla-e754845c80e3bf038d808c6502cf3dec5880e1f6.tar.gz volse-hubzilla-e754845c80e3bf038d808c6502cf3dec5880e1f6.tar.bz2 volse-hubzilla-e754845c80e3bf038d808c6502cf3dec5880e1f6.zip |
add rating support to poco
Diffstat (limited to 'install/update.php')
-rw-r--r-- | install/update.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php index 301d6e06f..7cdeb0e89 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1028 ); +define( 'UPDATE_VERSION' , 1029 ); /** * @@ -350,3 +350,10 @@ ADD INDEX ( `abook_rating` )"); return UPDATE_FAILED; } +function update_r1028() { + $r = q"ALTER TABLE `xlink` ADD `xlink_rating` INT NOT NULL DEFAULT '0' AFTER `xlink_link` , +ADD INDEX ( `xlink_rating` ) "); + if($r) + return UPDATE_SUCCESS; + return UPDATE_FAILED; +} |