From eacaf7f864164e1b8d2bb519e7a3e99695cf9982 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Wed, 4 Feb 2015 18:21:45 +0100 Subject: change type for isRead, isFav and isDeleted fields, as said @j0k3r --- src/Wallabag/CoreBundle/Entity/Entries.php | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/Wallabag') diff --git a/src/Wallabag/CoreBundle/Entity/Entries.php b/src/Wallabag/CoreBundle/Entity/Entries.php index 32e928d2..3f23965f 100644 --- a/src/Wallabag/CoreBundle/Entity/Entries.php +++ b/src/Wallabag/CoreBundle/Entity/Entries.php @@ -39,39 +39,39 @@ class Entries private $url; /** - * @var string + * @var boolean * - * @ORM\Column(name="is_read", type="decimal", precision=10, scale=0, nullable=true) + * @ORM\Column(name="is_read", type="boolean", options={"default" = false}) */ - private $isRead = '0'; + private $isRead; /** - * @var string + * @var boolean * - * @ORM\Column(name="is_fav", type="decimal", precision=10, scale=0, nullable=true) + * @ORM\Column(name="is_fav", type="boolean", options={"default" = false}) */ - private $isFav = '0'; + private $isFav; /** - * @var string + * @var boolean * - * @ORM\Column(name="content", type="text", nullable=true) + * @ORM\Column(name="is_deleted", type="boolean", options={"default" = false}) */ - private $content; + private $isDeleted; /** * @var string * - * @ORM\Column(name="user_id", type="decimal", precision=10, scale=0, nullable=true) + * @ORM\Column(name="content", type="text", nullable=true) */ - private $userId; + private $content; /** * @var string * - * @ORM\Column(name="is_deleted", type="decimal", precision=10, scale=0, nullable=true) + * @ORM\Column(name="user_id", type="decimal", precision=10, scale=0, nullable=true) */ - private $isDeleted = '0'; + private $userId; /** * Get id -- cgit v1.2.3