Skip to content

Instantly share code, notes, and snippets.

@jthomerson
Created August 12, 2013 18:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jthomerson/6213569 to your computer and use it in GitHub Desktop.
Save jthomerson/6213569 to your computer and use it in GitHub Desktop.
Changes that had to be made to the $indexes array for SilverStripe 3.
- 'Locale' => '(Locale)',
- 'VernacularAbbreviation' => array('type' => 'unique', 'value' => 'VernacularAbbreviation'),
- 'VernacularAbbreviation_Locale' => '(VernacularAbbreviation, Locale)',
+ 'Locale' => '("Locale")',
+ 'VernacularAbbreviation' => array('type' => 'unique', 'value' => '"VernacularAbbreviation"'),
+ 'VernacularAbbreviation_Locale' => '("VernacularAbbreviation","Locale")',
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment