Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20181025115728_add_private_commit_email_hostname_to_application_settings.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0923975f43a13daf3cf7ab2715841d6654e9c498 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

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

  DOWNTIME = false

  # rubocop:disable Migration/PreventStrings
  def change
    add_column(:application_settings, :commit_email_hostname, :string, null: true)
  end
  # rubocop:enable Migration/PreventStrings
end