1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-21 18:11:10 +00:00

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
This commit is contained in:
Nicolas Lœuillet 2016-11-18 15:55:16 +01:00
parent 10b3509757
commit e10e6ab34e
No known key found for this signature in database
GPG key ID: BDC1EFB5CA0145F2
2 changed files with 3 additions and 3 deletions

View 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');
}
/**