diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-11-03 14:45:41 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-11-05 17:02:02 +0100 |
commit | b18671a1b2c565a87663544441000063f6b83c8e (patch) | |
tree | 6350650632e8bb2bbe2c19c674a8e7ee5d67391a /db | |
parent | ccf5e2d6baafc4cae5e48be59ce8a50b7ac7f42f (diff) | |
download | gitlab-ce-b18671a1b2c565a87663544441000063f6b83c8e.tar.gz |
Enable shared runners for all new projects
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| |