Browse files

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

…a management.
  • Loading branch information...
1 parent dd302a6 commit 296ee1fa0fc27e77d4d5e451c72321ed766d210e @sminnee sminnee committed Aug 21, 2012
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,
),

0 comments on commit 296ee1f

Please sign in to comment.