summaryrefslogtreecommitdiff
path: root/db/migrate/20180424090541_add_enforce_terms_to_application_settings.rb
blob: b8fd71002a1b4f2c6a9913b0ecbc2849f4183999 (plain)
1
2
3
4
5
6
7
8
9
10
class AddEnforceTermsToApplicationSettings < ActiveRecord::Migration[4.2]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

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