mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX: Replaced Versioned's unique index definition with an array syntax.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@106120 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
bb8ad14651
commit
493fb1be55
@ -287,7 +287,7 @@ class Versioned extends DataObjectDecorator {
|
|||||||
|
|
||||||
$versionIndexes = array_merge(
|
$versionIndexes = array_merge(
|
||||||
array(
|
array(
|
||||||
'RecordID_Version' => 'unique (RecordID, Version)',
|
'RecordID_Version' => array('type' => 'unique', 'value' => 'RecordID, Version'),
|
||||||
'RecordID' => true,
|
'RecordID' => true,
|
||||||
'Version' => true,
|
'Version' => true,
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user