aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-12-27 00:57:47 -0800
committerfriendica <info@friendica.com>2012-12-27 00:57:47 -0800
commitefdcf7ad1662302af48086d3467445e1874e33a9 (patch)
treedc43c000fd28c7bbf11f5268eeb10e6b95052999 /install/update.php
parent196375251d4eed281c68537fd2822cbcff5ae2cd (diff)
downloadvolse-hubzilla-efdcf7ad1662302af48086d3467445e1874e33a9.tar.gz
volse-hubzilla-efdcf7ad1662302af48086d3467445e1874e33a9.tar.bz2
volse-hubzilla-efdcf7ad1662302af48086d3467445e1874e33a9.zip
put keywords back in xprof - too messy to search and join from a separate table
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index 144a972f9..4c5e4d3a6 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1009 );
+define( 'UPDATE_VERSION' , 1010 );
/**
*
@@ -160,3 +160,12 @@ function update_r1008() {
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}
+
+function update_r1009() {
+ $r = q("ALTER TABLE `xprof` ADD `xprof_keywords` TEXT NOT NULL");
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}
+
+