diff options
author | friendica <info@friendica.com> | 2014-06-23 05:19:28 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-06-23 05:19:28 -0700 |
commit | 0cfcb023118444bac29014e06a14fc1af2d0cf75 (patch) | |
tree | 5f63da84a1ee111cd68481a184c314ae5407c8fd /install/update.php | |
parent | d43227a730927c88745c5c35029fd57562265e3e (diff) | |
download | volse-hubzilla-0cfcb023118444bac29014e06a14fc1af2d0cf75.tar.gz volse-hubzilla-0cfcb023118444bac29014e06a14fc1af2d0cf75.tar.bz2 volse-hubzilla-0cfcb023118444bac29014e06a14fc1af2d0cf75.zip |
ability to like things
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 b6bcfa237..bdf84144c 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1114 ); +define( 'UPDATE_VERSION' , 1115 ); /** * @@ -1283,3 +1283,11 @@ ADD INDEX ( `channel_id` )"); return UPDATE_FAILED; } +function update_r1114() { + $r = q("ALTER TABLE `likes` ADD `target_id` CHAR( 128 ) NOT NULL DEFAULT '' AFTER `target_type` , +ADD INDEX ( `target_id` )"); + if($r) + return UPDATE_SUCCESS; + return UPDATE_FAILED; +} + |