]> git.mxchange.org Git - friendica.git/blobdiff - update.php
redundant log entry
[friendica.git] / update.php
index 35a6771b00e99f1aa64775c25eadccd05d4c608d..0f7bf664d99ec8e8fb1a766909d583a6fd6dedab 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-define( 'UPDATE_VERSION' , 1148 );
+define( 'UPDATE_VERSION' , 1149 );
 
 /**
  *
@@ -1283,3 +1283,9 @@ function update_1147() {
        return UPDATE_SUCCESS ;
 }
 
+function update_1148() {
+       $r = q("ALTER TABLE photo ADD type CHAR(128) NOT NULL DEFAULT 'image/jpeg' AFTER filename");
+       if (!$r)
+               return UPDATE_FAILED;
+       return UPDATE_SUCCESS;
+}