]> Raphaël G. Git Repositories - airbundle/commitdiff
Add phone field
authorRaphaël Gertz <git@rapsys.eu>
Thu, 14 Nov 2019 22:43:42 +0000 (23:43 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Thu, 14 Nov 2019 22:43:42 +0000 (23:43 +0100)
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