aboutsummaryrefslogblamecommitdiffstats
path: root/Zotlabs/Update/_1066.php
blob: e7d3fbbb4c33e74175066c7770bf16a032c7593f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                                                
<?php

namespace Zotlabs\Update;

class _1066 {
function run() {
	$r = q("ALTER TABLE `site` ADD `site_access` INT NOT NULL DEFAULT '0' AFTER `site_url` ,
ADD INDEX ( `site_access` )");
	if($r)
		return UPDATE_SUCCESS;
	return UPDATE_FAILED;
}


}