Files
core/Zotlabs/Update/_1007.php
2024-11-14 18:40:15 +00:00

16 lines
349 B
PHP

<?php
namespace Zotlabs\Update;
class _1007 {
function run() {
$r = q("ALTER TABLE `channel` ADD `channel_r_storage` INT UNSIGNED NOT NULL DEFAULT '128', ADD `channel_w_storage` INT UNSIGNED NOT NULL DEFAULT '128', add index ( channel_r_storage ), add index ( channel_w_storage )");
if($r)
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}
}