20180424090541_add_enforce_terms_to_application_settings.rb 293 Bytes
Newer Older
1
class AddEnforceTermsToApplicationSettings < ActiveRecord::Migration[4.2]
2 3 4 5 6
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def change
7
    # rubocop:disable Migration/SaferBooleanColumn
8 9 10
    add_column :application_settings, :enforce_terms, :boolean, default: false
  end
end