summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorJeroen Nijhof <jeroen@jeroennijhof.nl>2016-01-18 17:15:10 +0100
committerJeroen Nijhof <jeroen@jeroennijhof.nl>2016-01-18 17:15:10 +0100
commit85e0fce9eee4f20c6c627209828f7351ab0aedae (patch)
treebe370c396b49d7be4d96ccaf48d4bca2592e4ab7 /db
parentf603f3b30bcd4303f07f87a0c6fa60697b2775fd (diff)
downloadgitlab-ce-85e0fce9eee4f20c6c627209828f7351ab0aedae.tar.gz
Add sentry integration
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20160118155830_add_sentry_to_application_settings.rb8
-rw-r--r--db/schema.rb4
2 files changed, 11 insertions, 1 deletions
diff --git a/db/migrate/20160118155830_add_sentry_to_application_settings.rb b/db/migrate/20160118155830_add_sentry_to_application_settings.rb
new file mode 100644
index 00000000000..fa7ff9d9228
--- /dev/null
+++ b/db/migrate/20160118155830_add_sentry_to_application_settings.rb
@@ -0,0 +1,8 @@
+class AddSentryToApplicationSettings < ActiveRecord::Migration
+ def change
+ change_table :application_settings do |t|
+ t.boolean :sentry_enabled, default: false
+ t.string :sentry_dsn
+ end
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 9045135dd9a..8394574dfe9 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: 20160113111034) do
+ActiveRecord::Schema.define(version: 20160118155830) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -62,6 +62,8 @@ ActiveRecord::Schema.define(version: 20160113111034) do
t.string "recaptcha_private_key"
t.integer "metrics_port", default: 8089
t.integer "metrics_sample_interval", default: 15
+ t.boolean "sentry_enabled", default: false
+ t.string "sentry_dsn"
end
create_table "audit_events", force: :cascade do |t|