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?hp=b2215f349d8b99db8fb4f28f7c17f0c6984d43bb 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