forked from GNUsocial/gnu-social
[DATABASE] Enable fulltext search by default
Also rename fulltext indices to more fitting names and move the check from classes into database/schema.php
This commit is contained in:
@@ -1061,6 +1061,10 @@ class Schema
|
||||
}
|
||||
}
|
||||
|
||||
if (common_config('search', 'type') !== 'fulltext') {
|
||||
unset($tableDef['fulltext indexes']);
|
||||
}
|
||||
|
||||
return $tableDef;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user