mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-30 21:29:23 +02:00
BUGFIX: Add double quotes to index columns for more reliable DB-schema management.
This commit is contained in:
parent
dd302a68a7
commit
296ee1fa0f
@ -384,7 +384,7 @@ class Versioned extends DataExtension {
|
||||
|
||||
$versionIndexes = array_merge(
|
||||
array(
|
||||
'RecordID_Version' => array('type' => 'unique', 'value' => 'RecordID,Version'),
|
||||
'RecordID_Version' => array('type' => 'unique', 'value' => '"RecordID","Version"'),
|
||||
'RecordID' => true,
|
||||
'Version' => true,
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user