mind numbing drudgery continued...

This commit is contained in:
friendica
2014-08-27 19:15:34 -07:00
parent bbcf0be16a
commit eb27bea794
4 changed files with 76 additions and 85 deletions

View File

@@ -1,6 +1,6 @@
<?php
define( 'UPDATE_VERSION' , 1126 );
define( 'UPDATE_VERSION' , 1127 );
/**
*
@@ -1430,3 +1430,13 @@ function update_r1125() {
}
function update_r1126() {
$r = q("ALTER TABLE `mail` ADD `convid` INT UNSIGNED NOT NULL DEFAULT '0' AFTER `id` ,
ADD INDEX ( `convid` )");
if($r)
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}