From 7902f9b3ea2460e6056410736f6f7eb7c749cb7e Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Fri, 27 Apr 2018 17:54:06 +0300 Subject: [PATCH] #44 Post mapping fix. --- src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Post.php b/src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Post.php index 4c63310..0838135 100644 --- a/src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Post.php +++ b/src/Skobkin/Bundle/PointToolsBundle/Entity/Blogs/Post.php @@ -72,7 +72,7 @@ class Post /** * @var bool Status of point-tools subscription to the post (to receive WS updates) * - * @ORM\Column(name="is_subscribed", type="boolean") + * @ORM\Column(name="is_subscribed", type="boolean", options={"default": false}) */ private $subscribed = false;