Skip to content
This repository
Browse code

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

…a management.
  • Loading branch information...
commit 296ee1fa0fc27e77d4d5e451c72321ed766d210e 1 parent dd302a6
Sam Minnée authored August 21, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  model/Versioned.php
2  model/Versioned.php
@@ -384,7 +384,7 @@ function augmentDatabase() {
384 384
 					
385 385
 					$versionIndexes = array_merge(
386 386
 						array(
387  
-							'RecordID_Version' => array('type' => 'unique', 'value' => 'RecordID,Version'),
  387
+							'RecordID_Version' => array('type' => 'unique', 'value' => '"RecordID","Version"'),
388 388
 							'RecordID' => true,
389 389
 							'Version' => true,
390 390
 						),

0 notes on commit 296ee1f

Please sign in to comment.
Something went wrong with that request. Please try again.