# frozen_string_literal: true

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

# 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

Make default for ok_for_ml true and avoid nulls
Make default for ok_for_ml true and avoid nulls
