]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/config/doctrine/User.orm.yml
Contextualize buttons
[airbundle] / Resources / config / doctrine / User.orm.yml
index 4df938e91bb0657c079452cc0eb07d30e43c531e..4e05dfd54594928d8d06c81b0dcccedf9aab0110 100644 (file)
@@ -1,7 +1,11 @@
 Rapsys\AirBundle\Entity\User:
     type: entity
-    #repositoryClass: Rapsys\AirBundle\Repository\UserRepository
+    repositoryClass: Rapsys\AirBundle\Repository\UserRepository
     table: users
+    fields:
+        phone:
+            type: string
+            length: 16
     oneToMany:
         votes:
             targetEntity: Rapsys\AirBundle\Entity\Vote