# rubocop:disable all
class AddRunUntaggedToCiRunner < ActiveRecord::Migration
  include Gitlab::Database::MigrationHelpers
  disable_ddl_transaction!

  def up
    add_column_with_default(:ci_runners, :run_untagged, :boolean,
                            default: true, allow_null: false)
  end

  def down
    remove_column(:ci_runners, :run_untagged)
  end
end
