put keywords back in xprof - too messy to search and join from a separate table

This commit is contained in:
friendica
2012-12-27 00:57:47 -08:00
parent 196375251d
commit efdcf7ad16
3 changed files with 12 additions and 2 deletions

View File

@@ -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;
}