diff options
author | Jonathan Rochkind <jonathan@dnil.net> | 2015-10-08 11:13:28 -0400 |
---|---|---|
committer | Jonathan Rochkind <jonathan@dnil.net> | 2015-10-08 17:33:57 -0400 |
commit | ae4fbae26cefbf10848719ee8c06d418c348420c (patch) | |
tree | 147370c32c20f1c78b0e078e442b4c7ba5bf1001 /db | |
parent | 0de7c83a78711601b40b5a739070da2e3af29b11 (diff) | |
download | gitlab-ce-ae4fbae26cefbf10848719ee8c06d418c348420c.tar.gz |
Send an email (to support) when a user is reported for spam
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20151008143519_add_admin_notification_email_setting.rb | 5 | ||||
-rw-r--r-- | db/schema.rb | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/db/migrate/20151008143519_add_admin_notification_email_setting.rb b/db/migrate/20151008143519_add_admin_notification_email_setting.rb new file mode 100644 index 00000000000..0bb581efe2c --- /dev/null +++ b/db/migrate/20151008143519_add_admin_notification_email_setting.rb @@ -0,0 +1,5 @@ +class AddAdminNotificationEmailSetting < ActiveRecord::Migration + def change + add_column :application_settings, :admin_notification_email, :string + end +end diff --git a/db/schema.rb b/db/schema.rb index 72609da93f1..23627bdaa22 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20150930095736) do +ActiveRecord::Schema.define(version: 20151008143519) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -47,6 +47,7 @@ ActiveRecord::Schema.define(version: 20150930095736) do t.text "import_sources" t.text "help_page_text" t.boolean "ci_enabled", default: true, null: false + t.string "admin_notification_email" end create_table "audit_events", force: true do |t| |