Added migration

This commit is contained in:
Luke "Jared" Bennett 2017-04-28 13:42:26 +01:00
parent 284d4f76fe
commit cb4b2e31a7
No known key found for this signature in database
GPG key ID: 402ED51FB5D306C2
2 changed files with 13 additions and 1 deletions

View file

@ -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

View file

@ -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