debian-mirror-gitlab/db/migrate/20180813102000_enable_auto_devops_instance_wide_for_everyone.rb
2018-11-20 20:47:30 +05:30

16 lines
340 B
Ruby

# frozen_string_literal: true
class EnableAutoDevopsInstanceWideForEveryone < ActiveRecord::Migration
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