diff options
author | friendica <info@friendica.com> | 2014-08-27 19:15:34 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-08-27 19:15:34 -0700 |
commit | eb27bea794d5aff547be9722f7c058678b8cbb1d (patch) | |
tree | 6d305b1c17d0af06e0002b487a1873ba4932f396 /install/update.php | |
parent | bbcf0be16a2140069fe2826c57bb0c7278f7cb52 (diff) | |
download | volse-hubzilla-eb27bea794d5aff547be9722f7c058678b8cbb1d.tar.gz volse-hubzilla-eb27bea794d5aff547be9722f7c058678b8cbb1d.tar.bz2 volse-hubzilla-eb27bea794d5aff547be9722f7c058678b8cbb1d.zip |
mind numbing drudgery continued...
Diffstat (limited to 'install/update.php')
-rw-r--r-- | install/update.php | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php index 7c05173c0..5319942ee 100644 --- a/install/update.php +++ b/install/update.php @@ -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; + +} + |