diff options
author | Wei-Meng Lee <wlee@gitlab.com> | 2019-02-16 01:00:22 +0800 |
---|---|---|
committer | Wei-Meng Lee <wlee@gitlab.com> | 2019-05-31 20:45:21 +0800 |
commit | 6d73ce696c02bc949b9e3e71b8c14554e43ab340 (patch) | |
tree | 4df994c04194cdad7915fcf63eb655d405ab9325 /db/migrate/20190327163904_add_notification_email_to_notification_settings.rb | |
parent | 4e888212a1cdf5898c5cef69f5a2de909a275d31 (diff) | |
download | gitlab-ce-6d73ce696c02bc949b9e3e71b8c14554e43ab340.tar.gz |
Add notification_email to NotificationSetting
Diffstat (limited to 'db/migrate/20190327163904_add_notification_email_to_notification_settings.rb')
-rw-r--r-- | db/migrate/20190327163904_add_notification_email_to_notification_settings.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20190327163904_add_notification_email_to_notification_settings.rb b/db/migrate/20190327163904_add_notification_email_to_notification_settings.rb new file mode 100644 index 00000000000..2f3069032a1 --- /dev/null +++ b/db/migrate/20190327163904_add_notification_email_to_notification_settings.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +class AddNotificationEmailToNotificationSettings < ActiveRecord::Migration[5.0] + include Gitlab::Database::MigrationHelpers + + DOWNTIME = false + + def change + add_column :notification_settings, :notification_email, :string + end +end |