mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-22 10:15:19 +00:00
15 lines
336 B
PHP
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;
|
|
}
|
|
}
|