diff options
author | Jason Lee <huacnlee@gmail.com> | 2016-01-26 21:34:42 +0800 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-02-09 12:58:13 +0100 |
commit | 9474e36f462522af1804e760e5fe134f101fce08 (patch) | |
tree | b58b50cbd00970d1bc8320850f9a4d3eb38516e9 /db | |
parent | 2837f5c179ebef57de4cbaa7587173d35a4cb397 (diff) | |
download | gitlab-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')
-rw-r--r-- | db/migrate/20160121030729_add_email_author_in_body_to_application_settings.rb | 5 | ||||
-rw-r--r-- | db/schema.rb | 1 |
2 files changed, 6 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 diff --git a/db/schema.rb b/db/schema.rb index d4710346b82..f2eb48e37ed 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -66,6 +66,7 @@ ActiveRecord::Schema.define(version: 20160129135155) do t.string "sentry_dsn" t.boolean "akismet_enabled", default: false t.string "akismet_api_key" + t.boolean "email_author_in_body", default: false end create_table "audit_events", force: :cascade do |t| |