debian-mirror-gitlab/db/migrate/20180813102000_enable_auto_devops_instance_wide_for_everyone.rb
2019-02-15 15:39:39 +05:30

15 lines
345 B
Ruby

# frozen_string_literal: true
class EnableAutoDevopsInstanceWideForEveryone < ActiveRecord::Migration[4.2]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def up
execute "UPDATE application_settings SET auto_devops_enabled = true"
end
def down
# No way to know here what their previous setting was...
end
end