diff options
-rw-r--r-- | app/DoctrineMigrations/Version20161118134328.php | 2 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/Entry.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/DoctrineMigrations/Version20161118134328.php b/app/DoctrineMigrations/Version20161118134328.php index b5413ddc..390e89ce 100644 --- a/app/DoctrineMigrations/Version20161118134328.php +++ b/app/DoctrineMigrations/Version20161118134328.php | |||
@@ -32,7 +32,7 @@ class Version20161118134328 extends AbstractMigration implements ContainerAwareI | |||
32 | */ | 32 | */ |
33 | public function up(Schema $schema) | 33 | public function up(Schema $schema) |
34 | { | 34 | { |
35 | $this->addSql('ALTER TABLE '.$this->getTable('entry').' ADD http_status INT DEFAULT 0'); | 35 | $this->addSql('ALTER TABLE '.$this->getTable('entry').' ADD http_status VARCHAR(3) DEFAULT NULL'); |
36 | } | 36 | } |
37 | 37 | ||
38 | /** | 38 | /** |
diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php index 31e594bf..3cf9ac1a 100644 --- a/src/Wallabag/CoreBundle/Entity/Entry.php +++ b/src/Wallabag/CoreBundle/Entity/Entry.php | |||
@@ -181,9 +181,9 @@ class Entry | |||
181 | private $isPublic; | 181 | private $isPublic; |
182 | 182 | ||
183 | /** | 183 | /** |
184 | * @var int | 184 | * @var string |
185 | * | 185 | * |
186 | * @ORM\Column(name="http_status", type="integer", nullable=true) | 186 | * @ORM\Column(name="http_status", type="text", nullable=true) |
187 | * | 187 | * |
188 | * @Groups({"entries_for_user", "export_all"}) | 188 | * @Groups({"entries_for_user", "export_all"}) |
189 | */ | 189 | */ |