blob: 00c7425931884264dd422082ee2b8375fd4705e6 (
plain) (
tree)
|
|
<?php
namespace Zotlabs\Update;
class _1200 {
function run() {
if(ACTIVE_DBTYPE == DBTYPE_MYSQL) {
$r = q("ALTER TABLE item
DROP INDEX item_type,
ADD INDEX uid_item_type (uid, item_type)
");
}
if($r)
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}
}
|