2018-12-13 13:39:08 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2019-02-15 15:39:39 +05:30
|
|
|
class AddPrivateCommitEmailHostnameToApplicationSettings < ActiveRecord::Migration[4.2]
|
2018-12-13 13:39:08 +05:30
|
|
|
include Gitlab::Database::MigrationHelpers
|
|
|
|
|
|
|
|
DOWNTIME = false
|
|
|
|
|
2020-05-24 23:13:21 +05:30
|
|
|
# rubocop:disable Migration/PreventStrings
|
2018-12-13 13:39:08 +05:30
|
|
|
def change
|
2020-05-24 23:13:21 +05:30
|
|
|
add_column(:application_settings, :commit_email_hostname, :string, null: true)
|
2018-12-13 13:39:08 +05:30
|
|
|
end
|
2020-05-24 23:13:21 +05:30
|
|
|
# rubocop:enable Migration/PreventStrings
|
2018-12-13 13:39:08 +05:30
|
|
|
end
|