diff options
Diffstat (limited to 'install/update.php')
-rw-r--r-- | install/update.php | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php index b37af9cef..84f1a799c 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1189 ); +define( 'UPDATE_VERSION' , 1190 ); /** * @@ -2521,3 +2521,14 @@ function update_r1188() { } +function update_r1189() { + + $r1 = q("alter table mail add mail_mimetype char(64) not null default 'text/bbcode' "); + $r2 = q("alter table mail add mail_raw int(4) not null default '0' "); + + if($r1 && $r2) + return UPDATE_SUCCESS; + return UPDATE_FAILED; + +} + |