From: Raphaƫl Gertz Date: Thu, 14 Nov 2019 22:43:42 +0000 (+0100) Subject: Add phone field X-Git-Tag: 0.1.0~11 X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/commitdiff_plain/37532622ad75a46861d2a1defaf5928f76bfd527 Add phone field --- diff --git a/Resources/config/doctrine/User.orm.yml b/Resources/config/doctrine/User.orm.yml index 4df938e..0c505f6 100644 --- a/Resources/config/doctrine/User.orm.yml +++ b/Resources/config/doctrine/User.orm.yml @@ -2,6 +2,10 @@ Rapsys\AirBundle\Entity\User: type: entity #repositoryClass: Rapsys\AirBundle\Repository\UserRepository table: users + fields: + phone: + type: string + length: 16 oneToMany: votes: targetEntity: Rapsys\AirBundle\Entity\Vote