aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-04-26 20:11:12 -0700
committerzotlabs <mike@macgirvin.com>2017-04-26 20:11:12 -0700
commit88149f56bb2d2fb8f4a02cc320e5ba83435d8acc (patch)
tree8fd1c67cc364af4dee4ce81cd37befe4a9857e44 /install/update.php
parent6fcfab34883e5e93e9438ed4872de304e22b0f00 (diff)
parent1c304eb8ba5395e62c0245133d58a3f00adaeaac (diff)
downloadvolse-hubzilla-88149f56bb2d2fb8f4a02cc320e5ba83435d8acc.tar.gz
volse-hubzilla-88149f56bb2d2fb8f4a02cc320e5ba83435d8acc.tar.bz2
volse-hubzilla-88149f56bb2d2fb8f4a02cc320e5ba83435d8acc.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php13
1 files changed, 12 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index 75f9158c9..ce65d1db9 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;
+
+}
+