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

17 lines
No EOL
326 B
PHP

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