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

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

class AddNotificationEmailToNotificationSettings < ActiveRecord::Migration[5.0]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  # rubocop:disable Migration/PreventStrings
  def change
    add_column :notification_settings, :notification_email, :string
  end
  # rubocop:enable Migration/PreventStrings
end