mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-30 04:51:01 +00:00
Fix postgresql migration
This commit is contained in:
parent
2c3e148b00
commit
c406cef5b6
1 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ EOD
|
|||
break;
|
||||
|
||||
case 'postgresql':
|
||||
$this->addSql('ALTER TABLE '.$tableName.' ALTER COLUMN quote TYPE TEXT NOT NULL ');
|
||||
$this->addSql('ALTER TABLE '.$tableName.' ALTER COLUMN quote TYPE TEXT');
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -93,7 +93,7 @@ EOD
|
|||
break;
|
||||
|
||||
case 'postgresql':
|
||||
$this->addSql('ALTER TABLE '.$tableName.' ALTER COLUMN quote TYPE VARCHAR(255) NOT NULL ');
|
||||
$this->addSql('ALTER TABLE '.$tableName.' ALTER COLUMN quote TYPE VARCHAR(255)');
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue