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














                                                                                                           
<?php

namespace Zotlabs\Update;

class _1025 {
function run() {
	$r = q("ALTER TABLE `attach` ADD `folder` CHAR( 64 ) NOT NULL DEFAULT '' AFTER `revision` ,
ADD `flags` INT UNSIGNED NOT NULL DEFAULT '0' AFTER `folder` , add index ( folder ), add index ( flags )");
	if($r)
		return UPDATE_SUCCESS;
	return UPDATE_FAILED;
}


}