summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2018-04-18 09:33:44 +0000
committerDouwe Maan <douwe@gitlab.com>2018-04-18 09:33:44 +0000
commit84eeb9468c16f7192f9e3b911beeb6e472f4b907 (patch)
tree00a597d24e9ecd2972cd61a1b16c8abbb106cdae /db
parent40653b65b6a45df358ce40a278b08982891c541e (diff)
parentab650e7c6753d2f4c418496ad74dc87e243a5b2b (diff)
downloadgitlab-ce-84eeb9468c16f7192f9e3b911beeb6e472f4b907.tar.gz
Merge branch 'stuartnelson3/gitlab-ce-stn/issue-due-email' into 'master'
Email notification on issue due date Closes #27500 See merge request gitlab-org/gitlab-ce!17985
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20180330121048_add_issue_due_to_notification_settings.rb9
-rw-r--r--db/schema.rb1
2 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20180330121048_add_issue_due_to_notification_settings.rb b/db/migrate/20180330121048_add_issue_due_to_notification_settings.rb
new file mode 100644
index 00000000000..c64a481fcf0
--- /dev/null
+++ b/db/migrate/20180330121048_add_issue_due_to_notification_settings.rb
@@ -0,0 +1,9 @@
+class AddIssueDueToNotificationSettings < ActiveRecord::Migration
+ include Gitlab::Database::MigrationHelpers
+
+ DOWNTIME = false
+
+ def change
+ add_column :notification_settings, :issue_due, :boolean
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index fd75b176318..87f30f59d43 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -1325,6 +1325,7 @@ ActiveRecord::Schema.define(version: 20180405142733) do
t.boolean "failed_pipeline"
t.boolean "success_pipeline"
t.boolean "push_to_merge_request"
+ t.boolean "issue_due"
end
add_index "notification_settings", ["source_id", "source_type"], name: "index_notification_settings_on_source_id_and_source_type", using: :btree