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















                                                                                       
<?php

namespace Zotlabs\Update;

class _1146 {
function run() {

	$r1 = q("alter table event add event_sequence smallint not null default '0' ");
	$r2 = q("create index event_sequence on event ( event_sequence ) ");
	if($r1 && $r2)
		return UPDATE_SUCCESS;
	return UPDATE_FAILED;
}


}