summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authorJason Lee <huacnlee@gmail.com>2016-01-26 21:34:42 +0800
committerRémy Coutable <remy@rymai.me>2016-02-09 12:58:13 +0100
commit9474e36f462522af1804e760e5fe134f101fce08 (patch)
treeb58b50cbd00970d1bc8320850f9a4d3eb38516e9 /db/migrate
parent2837f5c179ebef57de4cbaa7587173d35a4cb397 (diff)
downloadgitlab-ce-9474e36f462522af1804e760e5fe134f101fce08.tar.gz
Add option to include the sender name in body of Notify email. fix #7824huacnlee/gitlab-ce-feature/option-to-include-author-info-in-mail
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20160121030729_add_email_author_in_body_to_application_settings.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20160121030729_add_email_author_in_body_to_application_settings.rb b/db/migrate/20160121030729_add_email_author_in_body_to_application_settings.rb
new file mode 100644
index 00000000000..d50791410f9
--- /dev/null
+++ b/db/migrate/20160121030729_add_email_author_in_body_to_application_settings.rb
@@ -0,0 +1,5 @@
+class AddEmailAuthorInBodyToApplicationSettings < ActiveRecord::Migration
+ def change
+ add_column :application_settings, :email_author_in_body, :boolean, default: false
+ end
+end