]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/config/doctrine/Title.orm.yml
Add repository
[airbundle] / Resources / config / doctrine / Title.orm.yml
index d68aa60f4fdc69bed9a612f2e05c0d0249830031..8652f06b8617690db9854f94c0098eadf33358b7 100644 (file)
@@ -1,7 +1,11 @@
 Rapsys\AirBundle\Entity\Title:
     type: entity
-    #repositoryClass: Rapsys\AirBundle\Repository\TitleRepository
+    repositoryClass: Rapsys\AirBundle\Repository\TitleRepository
     table: titles
+    fields:
+        short:
+            type: string
+            length: 16
     oneToMany:
         users:
             targetEntity: User