debian-mirror-gitlab/db/migrate/20160504112519_add_run_untagged_to_ci_runner.rb

15 lines
363 B
Ruby
Raw Normal View History

# rubocop:disable all
2016-06-02 11:05:42 +05:30
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