In Rails 4+ in order to remove not-null constraint, you can use change_column_null
:
change_column_null :users, :address, true
In Rails 4+ in order to remove not-null constraint, you can use change_column_null
:
change_column_null :users, :address, true