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














                                                                                                         
<?php

namespace Zotlabs\Update;

class _1027 {
function run() {
	$r = q("ALTER TABLE `abook` ADD `abook_rating` INT NOT NULL DEFAULT '0' AFTER `abook_closeness` ,
ADD INDEX ( `abook_rating` )");
	if($r)
		return UPDATE_SUCCESS;
	return UPDATE_FAILED;
}


}