Add expected FULLTEXT index to profile table

pull/6315/head
Hypolite Petovan 2018-12-23 18:54:06 -05:00
parent d53ff9c34d
commit c15fd9beb8
1 changed files with 2 additions and 1 deletions

View File

@ -34,7 +34,7 @@
use Friendica\Database\DBA; use Friendica\Database\DBA;
if (!defined('DB_UPDATE_VERSION')) { if (!defined('DB_UPDATE_VERSION')) {
define('DB_UPDATE_VERSION', 1291); define('DB_UPDATE_VERSION', 1292);
} }
return [ return [
@ -1059,6 +1059,7 @@ return [
"indexes" => [ "indexes" => [
"PRIMARY" => ["id"], "PRIMARY" => ["id"],
"uid_is-default" => ["uid", "is-default"], "uid_is-default" => ["uid", "is-default"],
"pub_keywords" => ["FULLTEXT", "pub_keywords"],
] ]
], ],
"profile_check" => [ "profile_check" => [