]> git.mxchange.org Git - friendica.git/blobdiff - update.php
per design spec, hide global directory if update url not present
[friendica.git] / update.php
index a39450579a257cf1fd35f3fd4905f4a17e8a9fcc..1fe58486b9babd5f3b36d2d0da184584c76929c7 100644 (file)
@@ -16,4 +16,9 @@ function update_1000() {
 
 function update_1001() {
        q("ALTER TABLE `item` ADD `wall` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `type` ");
+       q("ALTER TABLE `item` ADD INDEX ( `wall` )");  
+}
+
+function update_1002() {
+       q("ALTER TABLE `item` ADD `gravity` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `wall` ");
 }