aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-02-04 18:21:45 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-02-04 18:21:45 +0100
commiteacaf7f864164e1b8d2bb519e7a3e99695cf9982 (patch)
tree5b2856ba1f404c265e60e9692b37ff0f0867e18d
parent6079aaa33dc78772e497725d7247c371b80b5578 (diff)
downloadwallabag-eacaf7f864164e1b8d2bb519e7a3e99695cf9982.tar.gz
wallabag-eacaf7f864164e1b8d2bb519e7a3e99695cf9982.tar.zst
wallabag-eacaf7f864164e1b8d2bb519e7a3e99695cf9982.zip
change type for isRead, isFav and isDeleted fields, as said @j0k3r
-rw-r--r--src/Wallabag/CoreBundle/Entity/Entries.php26
1 files changed, 13 insertions, 13 deletions
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
39 private $url; 39 private $url;
40 40
41 /** 41 /**
42 * @var string 42 * @var boolean
43 * 43 *
44 * @ORM\Column(name="is_read", type="decimal", precision=10, scale=0, nullable=true) 44 * @ORM\Column(name="is_read", type="boolean", options={"default" = false})
45 */ 45 */
46 private $isRead = '0'; 46 private $isRead;
47 47
48 /** 48 /**
49 * @var string 49 * @var boolean
50 * 50 *
51 * @ORM\Column(name="is_fav", type="decimal", precision=10, scale=0, nullable=true) 51 * @ORM\Column(name="is_fav", type="boolean", options={"default" = false})
52 */ 52 */
53 private $isFav = '0'; 53 private $isFav;
54 54
55 /** 55 /**
56 * @var string 56 * @var boolean
57 * 57 *
58 * @ORM\Column(name="content", type="text", nullable=true) 58 * @ORM\Column(name="is_deleted", type="boolean", options={"default" = false})
59 */ 59 */
60 private $content; 60 private $isDeleted;
61 61
62 /** 62 /**
63 * @var string 63 * @var string
64 * 64 *
65 * @ORM\Column(name="user_id", type="decimal", precision=10, scale=0, nullable=true) 65 * @ORM\Column(name="content", type="text", nullable=true)
66 */ 66 */
67 private $userId; 67 private $content;
68 68
69 /** 69 /**
70 * @var string 70 * @var string
71 * 71 *
72 * @ORM\Column(name="is_deleted", type="decimal", precision=10, scale=0, nullable=true) 72 * @ORM\Column(name="user_id", type="decimal", precision=10, scale=0, nullable=true)
73 */ 73 */
74 private $isDeleted = '0'; 74 private $userId;
75 75
76 /** 76 /**
77 * Get id 77 * Get id