2018-02-16 20:42:02 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Zotlabs\Update;
|
|
|
|
|
2021-12-02 23:02:31 +00:00
|
|
|
class _1063
|
|
|
|
{
|
|
|
|
public function run()
|
|
|
|
{
|
|
|
|
$r = q("ALTER TABLE `xchan` ADD `xchan_follow` CHAR( 255 ) NOT NULL DEFAULT '' AFTER `xchan_connurl` ,
|
2018-02-16 20:42:02 +00:00
|
|
|
ADD `xchan_connpage` CHAR( 255 ) NOT NULL DEFAULT '' AFTER `xchan_follow` ,
|
|
|
|
ADD INDEX ( `xchan_follow` ), ADD INDEX ( `xchan_connpage`) ");
|
2021-12-03 03:01:39 +00:00
|
|
|
if ($r) {
|
2021-12-02 23:02:31 +00:00
|
|
|
return UPDATE_SUCCESS;
|
2021-12-03 03:01:39 +00:00
|
|
|
}
|
2021-12-02 23:02:31 +00:00
|
|
|
return UPDATE_FAILED;
|
|
|
|
}
|
2021-12-03 03:01:39 +00:00
|
|
|
}
|