Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorJonathan Rochkind <jonathan@dnil.net>2015-10-08 18:13:28 +0300
committerJonathan Rochkind <jonathan@dnil.net>2015-10-09 00:33:57 +0300
commitae4fbae26cefbf10848719ee8c06d418c348420c (patch)
tree147370c32c20f1c78b0e078e442b4c7ba5bf1001 /db
parent0de7c83a78711601b40b5a739070da2e3af29b11 (diff)
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.rb5
-rw-r--r--db/schema.rb3
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|