Optimized permission entity

This commit is contained in:
Kevin Frantz 2018-09-14 13:42:36 +02:00
parent f66cb4a8ce
commit 5136cec81d

View File

@ -28,7 +28,7 @@ class Permission extends AbstractEntity implements PermissionInterface
protected $reciever;
/**
* @ORM\Column(type="boolean")
* @ORM\Column(type="boolean",name="`grant`")
*
* @var bool
*/
@ -52,6 +52,7 @@ class Permission extends AbstractEntity implements PermissionInterface
public function __construct()
{
$this->reciever = RecieverType::NODE;
$this->grant = true;
}
}