update manage table and some documentation

This commit is contained in:
friendica
2013-03-27 19:02:01 -07:00
parent ca605a8c83
commit 8148b7c32f
46 changed files with 309 additions and 209 deletions

View File

@@ -1,6 +1,6 @@
<?php
define( 'UPDATE_VERSION' , 1038 );
define( 'UPDATE_VERSION' , 1039 );
/**
*
@@ -495,5 +495,13 @@ ADD INDEX `parent_mid` ( `parent_mid` ) ");
}
function update_r1038() {
$r = q("ALTER TABLE `manage` CHANGE `mid` `xchan` CHAR( 255 ) NOT NULL DEFAULT '', drop index `mid`, ADD INDEX ( `xchan` )");
if($r)
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}