ENHANCEMENT: full text search indexes now identified more clearly in dev/build

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@113657 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Geoff Munn 2010-11-11 19:06:18 +00:00
parent bf8afd6cac
commit 4215b2f434

View File

@ -391,6 +391,12 @@ abstract class SS_Database {
}
}
if(is_array($spec) && isset($spec['type'])){
if($spec['type']=='fulltext'){
$array_spec="({$spec['name']},{$spec['value']})";
}
}
if($newTable || !isset($this->indexList[$table][$index_alt])) {
$this->transCreateIndex($table, $index, $spec);
$this->alterationMessage("Index $table.$index: created as $spec","created");