Commit 696a3ff1 authored by Wei-Meng Lee's avatar Wei-Meng Lee Committed by Wei-Meng Lee

Add notification_email to NotificationSetting

parent 1c2f9483
# 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
......@@ -2138,6 +2138,7 @@ ActiveRecord::Schema.define(version: 20190528173628) do
t.boolean "push_to_merge_request"
t.boolean "issue_due"
t.boolean "new_epic"
t.string "notification_email"
t.index ["source_id", "source_type"], name: "index_notification_settings_on_source_id_and_source_type", using: :btree
t.index ["user_id", "source_id", "source_type"], name: "index_notifications_on_user_id_and_source_id_and_source_type", unique: true, using: :btree
t.index ["user_id"], name: "index_notification_settings_on_user_id", using: :btree
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment