From d736a9a1f9690b6e1b83d8e3a4785948f598815f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Wed, 19 Nov 2014 00:26:32 +0100 Subject: [PATCH] Add nullable: true to default phonenumber this caused a NOT NULL error on postgresql [ci skip] refs #320 --- Resources/config/doctrine/Person.orm.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Resources/config/doctrine/Person.orm.yml b/Resources/config/doctrine/Person.orm.yml index 7156a1626..ec381acbe 100644 --- a/Resources/config/doctrine/Person.orm.yml +++ b/Resources/config/doctrine/Person.orm.yml @@ -37,7 +37,8 @@ Chill\PersonBundle\Entity\Person: cFData: type: array phonenumber: - type:text + type: text + nullable: true manyToOne: countryOfBirth: targetEntity: Chill\MainBundle\Entity\Country