mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-28 14:29:30 +01:00
Fix postgresql migration
This commit is contained in:
parent
2c3e148b00
commit
c406cef5b6
@ -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…
x
Reference in New Issue
Block a user