[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:
Alexei Sorokin
2020-08-08 18:08:06 +03:00
parent 34ec165bff
commit f84dbb369f
6 changed files with 16 additions and 23 deletions

View File

@@ -1061,6 +1061,10 @@ class Schema
}
}
if (common_config('search', 'type') !== 'fulltext') {
unset($tableDef['fulltext indexes']);
}
return $tableDef;
}