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