]> git.mxchange.org Git - friendica.git/blobdiff - update.php
Merge https://github.com/friendica/friendica into pull
[friendica.git] / update.php
index cce942f27e7c77d2809f988515a403b1aee8baad..e363aa942e2157124a08f986057ad02c6cbadf76 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-define( 'UPDATE_VERSION' , 1142 );
+define( 'UPDATE_VERSION' , 1143 );
 
 /**
  *
@@ -1239,3 +1239,12 @@ function update_1141() {
 }
 
 
+function update_1142() {
+       $r = q("alter table user add service_class char(32) not null after expire_notification_sent, add index(service_class) ");
+       if(! $r)
+               return UPDATE_FAILED ;
+       return UPDATE_SUCCESS ;
+}
+
+
+