Skip to content

0.6.1

Choose a tag to compare

@abnegate abnegate released this 21 Sep 05:07
· 4 commits to main since this release
67f89d9

Added

  • PostgreSQL::alterColumnNullable() — emits ALTER 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