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














                                                                                                        
<?php

namespace Zotlabs\Update;

class _1024 {
function run() {
	$r = q("ALTER TABLE `attach` ADD `revision` INT UNSIGNED NOT NULL DEFAULT '0' AFTER `filesize` ,
ADD INDEX ( `revision` ) ");
	if($r)
		return UPDATE_SUCCESS;
	return UPDATE_FAILED;
}


}