mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR: dev/build message fixed to explain changes more clearly
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@113931 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
ab92919b27
commit
7d96dcd02b
@ -391,6 +391,8 @@ abstract class SS_Database {
|
||||
}
|
||||
}
|
||||
|
||||
//We need to include the name of the fulltext index here so we can trigger a rebuild
|
||||
//if either the name or the columns have changed.
|
||||
if(is_array($spec) && isset($spec['type'])){
|
||||
if($spec['type']=='fulltext'){
|
||||
$array_spec="({$spec['name']},{$spec['value']})";
|
||||
@ -399,7 +401,7 @@ abstract class SS_Database {
|
||||
|
||||
if($newTable || !isset($this->indexList[$table][$index_alt])) {
|
||||
$this->transCreateIndex($table, $index, $spec);
|
||||
$this->alterationMessage("Index $table.$index: created as $spec","created");
|
||||
$this->alterationMessage("Index $table.$index: created as " . DB::getConn()->convertIndexSpec($spec),"created");
|
||||
} else if($array_spec != DB::getConn()->convertIndexSpec($spec)) {
|
||||
$this->transAlterIndex($table, $index, $spec);
|
||||
$spec_msg=DB::getConn()->convertIndexSpec($spec);
|
||||
|
Loading…
x
Reference in New Issue
Block a user