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