streams/Zotlabs/Update/_1022.php
2021-12-03 10:02:31 +11:00

16 lines
No EOL
325 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;
}
}