]> git.mxchange.org Git - friendica.git/commitdiff
add a bookmark index, needed by network queries
authorfriendica <info@friendica.com>
Sat, 3 Dec 2011 21:53:49 +0000 (13:53 -0800)
committerfriendica <info@friendica.com>
Sat, 3 Dec 2011 21:53:49 +0000 (13:53 -0800)
boot.php
database.sql
update.php

index 753ba3280daceb3210bca1e90bfb01d42593de31..de4bfe0909b7494b1ba4e9aa32cf2a2b072de18d 100644 (file)
--- 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' );
index 279dd8f8762c615deee3be5e1da2ebc0e719977a..26580d60dd731ad83d68c4d7901424c890058f75 100644 (file)
@@ -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`),
index 0a3a1e7f16669a15f0051896ada7c9568d338ca4..6e7b5f2c1f969532afe288ba3b09fa95d3ebcbec 100644 (file)
@@ -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` ) ");
+
+}
+