diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2016-04-12 16:21:23 +0200 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2016-04-12 16:21:23 +0200 |
commit | b37d3b9423991763ad03fca791a1daf473dafed1 (patch) | |
tree | f3165ecfacfeaba5b3575a65baff7c4cc09d52fe /db | |
parent | 318314154e09d051cccd8b8391f2065133906bd7 (diff) | |
download | gitlab-ce-b37d3b9423991763ad03fca791a1daf473dafed1.tar.gz |
Add repository_checks_enabled setting
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20160412140240_add_repository_checks_enabled_setting.rb | 5 | ||||
-rw-r--r-- | db/schema.rb | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/db/migrate/20160412140240_add_repository_checks_enabled_setting.rb b/db/migrate/20160412140240_add_repository_checks_enabled_setting.rb new file mode 100644 index 00000000000..ebfa4bcbc7b --- /dev/null +++ b/db/migrate/20160412140240_add_repository_checks_enabled_setting.rb @@ -0,0 +1,5 @@ +class AddRepositoryChecksEnabledSetting < ActiveRecord::Migration + def change + add_column :application_settings, :repository_checks_enabled, :boolean, default: true + end +end diff --git a/db/schema.rb b/db/schema.rb index 53509956888..a9c595fe36d 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: 20160331133914) do +ActiveRecord::Schema.define(version: 20160412140240) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -78,6 +78,7 @@ ActiveRecord::Schema.define(version: 20160331133914) do t.string "akismet_api_key" t.boolean "email_author_in_body", default: false t.integer "default_group_visibility" + t.boolean "repository_checks_enabled", default: true end create_table "audit_events", force: :cascade do |t| |