diff options
author | friendica <info@friendica.com> | 2012-12-26 03:49:50 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-12-26 03:49:50 -0800 |
commit | c8292b3cddf0a29236cb981111beb4587d7be411 (patch) | |
tree | d9e5ed5afbf5ca90d04325c70949ea436a40c578 /install/update.php | |
parent | 1aeea64311d1ae104b8fe513bf13c6f7eeb4fa42 (diff) | |
download | volse-hubzilla-c8292b3cddf0a29236cb981111beb4587d7be411.tar.gz volse-hubzilla-c8292b3cddf0a29236cb981111beb4587d7be411.tar.bz2 volse-hubzilla-c8292b3cddf0a29236cb981111beb4587d7be411.zip |
remove the private keywords stuff to reduce directory and search complexity
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 bdd687fb3..144a972f9 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1008 ); +define( 'UPDATE_VERSION' , 1009 ); /** * @@ -152,3 +152,11 @@ function update_r1007() { return UPDATE_SUCCESS; return UPDATE_FAILED; } + +function update_r1008() { + $r = q("alter table profile drop prv_keywords, CHANGE `pub_keywords` `keywords` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, drop index pub_keywords"); + + if($r) + return UPDATE_SUCCESS; + return UPDATE_FAILED; +} |