```ruby
# frozen_string_literal: true

class AddOkForMlToImages < ActiveRecord::Migration[6.1]
  def change
    add_column(:images, :ok_for_ml, :boolean)
  end
end
```

Make default for ok_for_ml true and avoid nulls
user
```ruby
# frozen_string_literal: true

class AddOkForMlToImages < ActiveRecord::Migration[6.1]
  def change
    add_column(:images, :ok_for_ml, :boolean, default: true, null: false)
  end
end
```
assistant