streams/Zotlabs/Update/_1022.php
2021-12-03 14:01:39 +11:00

15 lines
336 B
PHP

<?php
namespace Zotlabs\Update;
class _1022
{
public function run()
{
$r = q("alter table attach add index ( filename ), add index ( filetype ), add index ( filesize ), add index ( created ), add index ( edited ) ");
if ($r) {
return UPDATE_SUCCESS;
}
return UPDATE_FAILED;
}
}