Reconsider using nullable
over not_null
#491
Labels
breaking-changes
breaking changes to pgroll
Milestone
nullable
over not_null
#491
In #132 it was decided to use
nullable
overnot_null
to set column nullability increate_table
,add_column
andalter_column
operations, for example:As a breaking change before
v1
we should consider whether we want to reverse this decision and usenot_null
instead.Using
not_null
is less surprising as columns in Postgres are nullable by default, whereas by usingnullable
's implicit default offalse
we reverse this expectation.The text was updated successfully, but these errors were encountered: