mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #505 from schmengler/index-fix
BUGFIX: Added double quotes to column names in automatically generated i...
This commit is contained in:
commit
aebfea7f68
@ -391,7 +391,7 @@ abstract class SS_Database {
|
|||||||
|
|
||||||
//DB Abstraction: remove this ===true option as a possibility?
|
//DB Abstraction: remove this ===true option as a possibility?
|
||||||
if($spec === true) {
|
if($spec === true) {
|
||||||
$spec = "($index)";
|
$spec = "(\"$index\")";
|
||||||
}
|
}
|
||||||
|
|
||||||
//Indexes specified as arrays cannot be checked with this line: (it flattens out the array)
|
//Indexes specified as arrays cannot be checked with this line: (it flattens out the array)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user