summaryrefslogtreecommitdiff
path: root/db/migrate/20180122162010_add_auto_devops_domain_to_application_settings.rb
blob: 603f4eb13dbf716c39f5d6a3a2d460d4dcfe3197 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.

class AddAutoDevopsDomainToApplicationSettings < ActiveRecord::Migration[4.2]
  include Gitlab::Database::MigrationHelpers

  # Set this constant to true if this migration requires downtime.
  DOWNTIME = false

  # rubocop:disable Migration/PreventStrings
  def change
    add_column :application_settings, :auto_devops_domain, :string
  end
  # rubocop:enable Migration/PreventStrings
end