diff options
Diffstat (limited to 'install/update.php')
-rw-r--r-- | install/update.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php index c97b5619f..682ee2aea 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1059 ); +define( 'UPDATE_VERSION' , 1060 ); /** * @@ -682,3 +682,10 @@ ADD INDEX ( `mitem_flags` ) "); return UPDATE_SUCCESS; return UPDATE_FAILED; } + +function update_r1059() { + $r = q("ALTER TABLE `mail` ADD `attach` MEDIUMTEXT NOT NULL DEFAULT '' AFTER `body` "); + if($r) + return UPDATE_SUCCESS; + return UPDATE_FAILED; +} |