mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX: Added double quotes to column names in automatically generated indexes for many_many relationships (this time in the right place, should not interfere with index name - all tests pass)
This commit is contained in:
parent
5499079c1c
commit
afdd8683e4
@ -391,7 +391,7 @@ abstract class SS_Database {
|
||||
|
||||
//DB Abstraction: remove this ===true option as a possibility?
|
||||
if($spec === true) {
|
||||
$spec = "($index)";
|
||||
$spec = "(\"$index\")";
|
||||
}
|
||||
|
||||
//Indexes specified as arrays cannot be checked with this line: (it flattens out the array)
|
||||
|
Loading…
Reference in New Issue
Block a user