add rating support to poco
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user