add a bookmark index, needed by network queries
This commit is contained in:
parent
172fdbcdcf
commit
acd28bb1ef
4
boot.php
4
boot.php
|
@ -9,9 +9,9 @@ require_once('include/nav.php');
|
||||||
require_once('include/cache.php');
|
require_once('include/cache.php');
|
||||||
|
|
||||||
define ( 'FRIENDICA_PLATFORM', 'Friendica');
|
define ( 'FRIENDICA_PLATFORM', 'Friendica');
|
||||||
define ( 'FRIENDICA_VERSION', '2.3.1183' );
|
define ( 'FRIENDICA_VERSION', '2.3.1184' );
|
||||||
define ( 'DFRN_PROTOCOL_VERSION', '2.22' );
|
define ( 'DFRN_PROTOCOL_VERSION', '2.22' );
|
||||||
define ( 'DB_UPDATE_VERSION', 1107 );
|
define ( 'DB_UPDATE_VERSION', 1108 );
|
||||||
|
|
||||||
define ( 'EOL', "<br />\r\n" );
|
define ( 'EOL', "<br />\r\n" );
|
||||||
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );
|
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );
|
||||||
|
|
|
@ -242,6 +242,7 @@ CREATE TABLE IF NOT EXISTS `item` (
|
||||||
KEY `received` (`received`),
|
KEY `received` (`received`),
|
||||||
KEY `visible` (`visible`),
|
KEY `visible` (`visible`),
|
||||||
KEY `starred` (`starred`),
|
KEY `starred` (`starred`),
|
||||||
|
KEY `bookmark` (`bookmark`),
|
||||||
KEY `deleted` (`deleted`),
|
KEY `deleted` (`deleted`),
|
||||||
KEY `origin` (`origin`),
|
KEY `origin` (`origin`),
|
||||||
KEY `forum_mode` (`forum_mode`),
|
KEY `forum_mode` (`forum_mode`),
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?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` ) ");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue