summaryrefslogtreecommitdiff
path: root/db/migrate/20190320174702_add_lets_encrypt_notification_email_to_application_settings.rb
blob: e0ec10ca20447cbcad59abf62ad4bdf2e0d1716b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.

class AddLetsEncryptNotificationEmailToApplicationSettings < ActiveRecord::Migration[5.0]
  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, :lets_encrypt_notification_email, :string
  end
  # rubocop:enable Migration/PreventStrings
end