Set default value for grantedPassword & activated properties

This commit is contained in:
Nicolas Le Goff
2014-03-05 13:23:18 +01:00
parent 6d334f1cf8
commit 2ed0ce1f9d

View File

@@ -109,14 +109,14 @@ class ApiApplication
*
* @ORM\Column(type="boolean", nullable=false)
*/
private $activated;
private $activated = true;
/**
* @var integer
*
* @ORM\Column(name="grant_password", type="boolean", nullable=false)
*/
private $grantPassword;
private $grantPassword = false;
/**
* @param boolean $activated