]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/DoctrineMigrations/Version20161118134328.php
Replace http status with a string
[github/wallabag/wallabag.git] / app / DoctrineMigrations / Version20161118134328.php
index b5413ddceefc3710d4287424d09f9580a9db2037..390e89ce610256d9377252089846bd923f997c7a 100644 (file)
@@ -32,7 +32,7 @@ class Version20161118134328 extends AbstractMigration implements ContainerAwareI
      */
     public function up(Schema $schema)
     {
-        $this->addSql('ALTER TABLE '.$this->getTable('entry').' ADD http_status INT DEFAULT 0');
+        $this->addSql('ALTER TABLE '.$this->getTable('entry').' ADD http_status VARCHAR(3) DEFAULT NULL');
     }
 
     /**