aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-12-19 14:24:19 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-12-19 14:24:19 +0100
commit3ef75cc4e327146513ff077d69de65c8f93b775c (patch)
tree39fb2df5f1a1b4a7464a8e9079859e9d0975344f /src/Wallabag/CoreBundle
parent6514f0ed37da14346338b11ee055c1d49813df49 (diff)
downloadwallabag-3ef75cc4e327146513ff077d69de65c8f93b775c.tar.gz
wallabag-3ef75cc4e327146513ff077d69de65c8f93b775c.tar.zst
wallabag-3ef75cc4e327146513ff077d69de65c8f93b775c.zip
Be consistent between migration & schema definition
Diffstat (limited to 'src/Wallabag/CoreBundle')
-rw-r--r--src/Wallabag/CoreBundle/Entity/Config.php2
-rw-r--r--src/Wallabag/CoreBundle/Entity/Entry.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Config.php b/src/Wallabag/CoreBundle/Entity/Config.php
index 0b75270d..b902ae2c 100644
--- a/src/Wallabag/CoreBundle/Entity/Config.php
+++ b/src/Wallabag/CoreBundle/Entity/Config.php
@@ -93,7 +93,7 @@ class Config
93 /** 93 /**
94 * @var int 94 * @var int
95 * 95 *
96 * @ORM\Column(name="action_mark_as_read", type="integer", nullable=true) 96 * @ORM\Column(name="action_mark_as_read", type="integer", nullable=true, options={"default" = 0})
97 */ 97 */
98 private $actionMarkAsRead; 98 private $actionMarkAsRead;
99 99
diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php
index 3cf9ac1a..3ae5334f 100644
--- a/src/Wallabag/CoreBundle/Entity/Entry.php
+++ b/src/Wallabag/CoreBundle/Entity/Entry.php
@@ -183,7 +183,7 @@ class Entry
183 /** 183 /**
184 * @var string 184 * @var string
185 * 185 *
186 * @ORM\Column(name="http_status", type="text", nullable=true) 186 * @ORM\Column(name="http_status", type="string", length=3, nullable=true)
187 * 187 *
188 * @Groups({"entries_for_user", "export_all"}) 188 * @Groups({"entries_for_user", "export_all"})
189 */ 189 */