database support for client side e2ee for private mail

This commit is contained in:
zotlabs
2017-04-25 21:52:24 -07:00
parent f36e384ed7
commit 7d5ee81628
6 changed files with 31 additions and 14 deletions
+12 -1
View File
@@ -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;
}