summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-28 13:42:26 +0100
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-28 13:42:26 +0100
commitcb4b2e31a75e0f31e49f739c9008451d53908a0e (patch)
treecb63f3fb8416030b465a8f6bea598ad2e2035cfd /db
parent284d4f76fee9f593cb67f3f2978ad4f49ef03c13 (diff)
downloadgitlab-ce-cb4b2e31a75e0f31e49f739c9008451d53908a0e.tar.gz
Added migration
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20170428123910_add_clientside_sentry_to_application_settings.rb9
-rw-r--r--db/schema.rb5
2 files changed, 13 insertions, 1 deletions
diff --git a/db/migrate/20170428123910_add_clientside_sentry_to_application_settings.rb b/db/migrate/20170428123910_add_clientside_sentry_to_application_settings.rb
new file mode 100644
index 00000000000..2b085b889eb
--- /dev/null
+++ b/db/migrate/20170428123910_add_clientside_sentry_to_application_settings.rb
@@ -0,0 +1,9 @@
+# rubocop:disable all
+class AddClientsideSentryToApplicationSettings < ActiveRecord::Migration
+ def change
+ change_table :application_settings do |t|
+ t.boolean :clientside_sentry_enabled, default: false
+ t.string :clientside_sentry_dsn
+ end
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 592f1c253ea..a9940be22ff 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: 20170426175636) do
+ActiveRecord::Schema.define(version: 20170428123910) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -121,6 +121,8 @@ ActiveRecord::Schema.define(version: 20170426175636) do
t.boolean "usage_ping_enabled", default: true, null: false
t.string "uuid"
t.integer "cached_markdown_version"
+ t.boolean "clientside_sentry_enabled", default: false
+ t.string "clientside_sentry_dsn"
end
create_table "audit_events", force: :cascade do |t|
@@ -296,6 +298,7 @@ ActiveRecord::Schema.define(version: 20170426175636) do
t.boolean "locked", default: false, null: false
end
+ add_index "ci_runners", ["contacted_at"], name: "index_ci_runners_on_contacted_at", using: :btree
add_index "ci_runners", ["is_shared"], name: "index_ci_runners_on_is_shared", using: :btree
add_index "ci_runners", ["locked"], name: "index_ci_runners_on_locked", using: :btree
add_index "ci_runners", ["token"], name: "index_ci_runners_on_token", using: :btree