aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-10-22 01:29:26 -0700
committerFriendika <info@friendika.com>2011-10-22 01:29:26 -0700
commit0ada550a02552a6a31872662d43795d07507efa6 (patch)
tree219baf0ec4dafdff1f3f228cc0664c44228d02b7 /update.php
parent3783d8860c2ceabc846ef915ce8ae5e4784107b2 (diff)
downloadvolse-hubzilla-0ada550a02552a6a31872662d43795d07507efa6.tar.gz
volse-hubzilla-0ada550a02552a6a31872662d43795d07507efa6.tar.bz2
volse-hubzilla-0ada550a02552a6a31872662d43795d07507efa6.zip
queue indexes
Diffstat (limited to 'update.php')
-rw-r--r--update.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/update.php b/update.php
index ed6b9e05e..c85962691 100644
--- a/update.php
+++ b/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1097 );
+define( 'UPDATE_VERSION' , 1098 );
/**
*
@@ -800,4 +800,12 @@ function update_1096() {
q("ALTER TABLE `item` ADD `origin` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `deleted` , ADD INDEX ( `origin` ) ");
}
+function update_1097() {
+ q("ALTER TABLE `queue`
+ ADD INDEX (`cid`),
+ ADD INDEX (`created`),
+ ADD INDEX (`last`),
+ ADD INDEX (`network`),
+ ADD INDEX (`batch`) ");
+}