Closed
Description
As it stands now, the BulkChangeTable
cop flags uses of change_column_null
. However, there is no corresponding method on ActiveRecord::ConnectionAdapters::Table
to replace it with as there is with change_column_default
and Table#change_default
. The closest thing is Table#change
, but that requires the developer to repeat the entire column definition (which is why change_column_null
exists in the first place in addition to change_column
).
Am I missing a reasonable replacement for change_column_null
?
Activity