mirror of
https://github.com/silverstripe/silverstripe-mssql
synced 2024-10-22 08:05:53 +02:00
removing double up of quotes in getIndexSqlDefinition()
This commit is contained in:
parent
d6a075f9c7
commit
bd18c0a1f3
@ -843,7 +843,7 @@ class MSSQLDatabase extends SS_Database {
|
||||
|
||||
if(!is_array($indexSpec)) {
|
||||
$indexSpec=trim($indexSpec, '()');
|
||||
return "$drop CREATE INDEX $index ON \"" . $tableName . "\" (" . $indexSpec . ");";
|
||||
return "$drop CREATE INDEX $index ON \"" . $tableName . "\" ($indexSpec);";
|
||||
} else {
|
||||
// create a type-specific index
|
||||
if($indexSpec['type'] == 'fulltext') {
|
||||
|
Loading…
Reference in New Issue
Block a user