Repository navigation
0.6.1
Added
PostgreSQL::alterColumnNullable()— emitsALTER COLUMN … SET NOT NULL/DROP NOT NULL.
Postgres carries NOT NULL through an ALTER COLUMN … TYPE, so a column that moves between required and optional keeps its old constraint. MySQL resets nullability as part of MODIFY COLUMN, so only Postgres needs the constraint altered on its own — there was previously no way to express that through the builder.
Full changelog: 0.6.0...0.6.1