summaryrefslogtreecommitdiff
path: root/db/migrate/20170602154736_add_help_page_hide_commercial_content_to_application_settings.rb
blob: ff9e188d7a8498a3b900a63b6afaad02ba4865a4 (plain)
1
2
3
4
5
6
7
8
9
10
# rubocop:disable Migration/SaferBooleanColumn
class AddHelpPageHideCommercialContentToApplicationSettings < ActiveRecord::Migration[4.2]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def change
    add_column :application_settings, :help_page_hide_commercial_content, :boolean, default: false
  end
end