aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-12-03 13:53:49 -0800
committerfriendica <info@friendica.com>2011-12-03 13:53:49 -0800
commitacd28bb1ef2b1bc37ffde0bb4dbb5e997d6259a2 (patch)
tree9c956434f6f9e1630b50284666d7befa60d4a05d
parent172fdbcdcfac15a14332967d6d493eac56c088bb (diff)
downloadvolse-hubzilla-acd28bb1ef2b1bc37ffde0bb4dbb5e997d6259a2.tar.gz
volse-hubzilla-acd28bb1ef2b1bc37ffde0bb4dbb5e997d6259a2.tar.bz2
volse-hubzilla-acd28bb1ef2b1bc37ffde0bb4dbb5e997d6259a2.zip
add a bookmark index, needed by network queries
-rw-r--r--boot.php4
-rw-r--r--database.sql1
-rw-r--r--update.php7
3 files changed, 9 insertions, 3 deletions
diff --git a/boot.php b/boot.php
index 753ba3280..de4bfe090 100644
--- a/boot.php
+++ b/boot.php
@@ -9,9 +9,9 @@ require_once('include/nav.php');
require_once('include/cache.php');
define ( 'FRIENDICA_PLATFORM', 'Friendica');
-define ( 'FRIENDICA_VERSION', '2.3.1183' );
+define ( 'FRIENDICA_VERSION', '2.3.1184' );
define ( 'DFRN_PROTOCOL_VERSION', '2.22' );
-define ( 'DB_UPDATE_VERSION', 1107 );
+define ( 'DB_UPDATE_VERSION', 1108 );
define ( 'EOL', "<br />\r\n" );
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );
diff --git a/database.sql b/database.sql
index 279dd8f87..26580d60d 100644
--- a/database.sql
+++ b/database.sql
@@ -242,6 +242,7 @@ CREATE TABLE IF NOT EXISTS `item` (
KEY `received` (`received`),
KEY `visible` (`visible`),
KEY `starred` (`starred`),
+ KEY `bookmark` (`bookmark`),
KEY `deleted` (`deleted`),
KEY `origin` (`origin`),
KEY `forum_mode` (`forum_mode`),
diff --git a/update.php b/update.php
index 0a3a1e7f1..6e7b5f2c1 100644
--- a/update.php
+++ b/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1107 );
+define( 'UPDATE_VERSION' , 1108 );
/**
*
@@ -918,4 +918,9 @@ function update_1106() {
}
+function update_1107() {
+ q("ALTER TABLE `item` ADD INDEX ( `bookmark` ) ");
+
+}
+