Skip to content
Browse files

fixed #482

  • Loading branch information...
1 parent 594b7e0 commit d5be57848165a220ecdf2f2b9a3335352a6933ed @l3pp4rd committed
Showing with 9 additions and 8 deletions.
  1. +1 −0 .gitignore
  2. +8 −8 lib/Gedmo/Translatable/Document/Translation.php
View
1 .gitignore
@@ -3,3 +3,4 @@ tests/temp/*.php
scripts/
vendor/
tags
+.vimrc.local
View
16 lib/Gedmo/Translatable/Document/Translation.php
@@ -11,15 +11,15 @@
*
* @Document(repositoryClass="Gedmo\Translatable\Document\Repository\TranslationRepository")
* @UniqueIndex(name="lookup_unique_idx", keys={
- * "locale",
- * "object_class",
- * "foreign_key",
- * "field"
+ * "locale" = "asc",
+ * "object_class" = "asc",
+ * "foreign_key" = "asc",
+ * "field" = "asc"
* })
* @Index(name="translations_lookup_idx", keys={
- * "locale",
- * "object_class",
- * "foreign_key"
+ * "locale" = "asc",
+ * "object_class" = "asc",
+ * "foreign_key" = "asc"
* })
*/
class Translation extends MappedSuperclass\AbstractTranslation
@@ -27,4 +27,4 @@ class Translation extends MappedSuperclass\AbstractTranslation
/**
* All required columns are mapped through inherited superclass
*/
-}
+}

0 comments on commit d5be578

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