]> git.mxchange.org Git - friendica.git/blobdiff - update.php
Merge pull request #442 from fermionic/frost-image-upload-and-post-local-time
[friendica.git] / update.php
index 879d7017d4b69cef4b124b73777282c03aa98d99..19e6cf3bdf78c06eae128ee1f383eb4f902d3492 100644 (file)
@@ -1338,8 +1338,8 @@ function update_1152() {
 }
 
 function update_1153() {
-       $r = q("CREATE INDEX `uid_commented` ON `item` (`uid`, `commented`);  CREATE INDEX `uid_created` ON `item` (`uid`, `created`)");
-       if(! $r)
-               return UPDATE_FAILED;
+       $r = q("ALTER TABLE `hook` ADD `priority` INT(11) UNSIGNED NOT NULL DEFAULT '0'");
+       
+       if(!$r) return UPDATE_FAILED;
        return UPDATE_SUCCESS;
 }