Add expected FULLTEXT index to profile table

This commit is contained in:
Hypolite Petovan 2018-12-23 18:54:06 -05:00
parent d53ff9c34d
commit c15fd9beb8

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" => [