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

16 lines
334 B
PHP

<?php
namespace Zotlabs\Update;
class _1031
{
public function run()
{
$r = q("ALTER TABLE `account` ADD `account_external` CHAR( 255 ) NOT NULL DEFAULT '' AFTER `account_email` ,
ADD INDEX ( `account_external` )");
if ($r) {
return UPDATE_SUCCESS;
}
return UPDATE_FAILED;
}
}