Fix postgresql migration

This commit is contained in:
adev 2017-06-07 00:12:20 +02:00
parent 2c3e148b00
commit c406cef5b6

View file

@ -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;
}
}