ptica / Oracle

2 stars 1 forks source link

alter via migrations error #6

Closed ptica closed 10 years ago

ptica commented 10 years ago
ALTER TABLE "schema_migrations" MODIFY ("class" varchar2(255) NOT NULL);

even when the column could already be NULL

https://github.com/ptica/Oracle/blob/master/Model/Datasource/Oracle.php#L808 function buildColumn($column) seems to test for NULL, so the handed existing $column is probably not well constructed

ptica commented 10 years ago

fixed in 631ea