Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUGFIX: Add double quotes to index columns for more reliable DB-schem…

…a management.
  • Loading branch information...
commit 296ee1fa0fc27e77d4d5e451c72321ed766d210e 1 parent dd302a6
@sminnee sminnee authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  model/Versioned.php
View
2  model/Versioned.php
@@ -384,7 +384,7 @@ function augmentDatabase() {
$versionIndexes = array_merge(
array(
- 'RecordID_Version' => array('type' => 'unique', 'value' => 'RecordID,Version'),
+ 'RecordID_Version' => array('type' => 'unique', 'value' => '"RecordID","Version"'),
'RecordID' => true,
'Version' => true,
),
Please sign in to comment.
Something went wrong with that request. Please try again.