aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/DoctrineMigrations
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-11-18 15:55:16 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-11-18 15:55:16 +0100
commite10e6ab34e62129d57fc69d7b9b69b08c20e6f5a (patch)
tree148d358287c60fa79a772beaaa9685c3c385067e /app/DoctrineMigrations
parent10b3509757c704943aa9cdd69c1d02bedfa937a3 (diff)
downloadwallabag-e10e6ab34e62129d57fc69d7b9b69b08c20e6f5a.tar.gz
wallabag-e10e6ab34e62129d57fc69d7b9b69b08c20e6f5a.tar.zst
wallabag-e10e6ab34e62129d57fc69d7b9b69b08c20e6f5a.zip
Replace http status with a string
I don't want to have 0 if we don't fetch status code, I think it's better to have an empty string, mainly for filters
Diffstat (limited to 'app/DoctrineMigrations')
-rw-r--r--app/DoctrineMigrations/Version20161118134328.php2
1 files changed, 1 insertions, 1 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 /**