diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2015-11-09 09:41:07 +0000 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2015-11-09 09:41:07 +0000 |
commit | 9f055126479000764b488cbb8e91733daaca1c36 (patch) | |
tree | c2bc520af045f396acd0dffcf848325145420f54 /db | |
parent | bf76df22749920771069178fb2bb79b7f16c2414 (diff) | |
parent | 4fda9ef8a522352886fad08524b4ad4054a7eb60 (diff) | |
download | gitlab-ce-9f055126479000764b488cbb8e91733daaca1c36.tar.gz |
Merge branch 'shared_runners' into 'master'
Enable shared runners for all new projects
This adds Admin Setting option to enable shared runners for all new projects, and by default it is set to true.
/cc @dzaporozhets @sytses
See merge request !1738
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20151103133339_add_shared_runners_setting.rb | 5 | ||||
-rw-r--r-- | db/schema.rb | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/db/migrate/20151103133339_add_shared_runners_setting.rb b/db/migrate/20151103133339_add_shared_runners_setting.rb new file mode 100644 index 00000000000..4231dfd5c2e --- /dev/null +++ b/db/migrate/20151103133339_add_shared_runners_setting.rb @@ -0,0 +1,5 @@ +class AddSharedRunnersSetting < ActiveRecord::Migration + def up + add_column :application_settings, :shared_runners_enabled, :boolean, default: true, null: false + end +end diff --git a/db/schema.rb b/db/schema.rb index 17d445a8baa..de896f2764b 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: 20151103001141) do +ActiveRecord::Schema.define(version: 20151103133339) 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: 20151103001141) do t.text "import_sources" t.text "help_page_text" t.string "admin_notification_email" + t.boolean "shared_runners_enabled", default: true, null: false end create_table "audit_events", force: true do |t| |