diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-01-21 14:08:27 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-01-21 14:08:27 +0100 |
commit | 86881f4f7901b7cc31c730c7fff378a6a073eff8 (patch) | |
tree | b172a03e65b2635db26e881665c568a74bf3df4d /db/schema.rb | |
parent | e447ea63a49b1f28975fc9678fe92a679a34455b (diff) | |
download | gitlab-ce-86881f4f7901b7cc31c730c7fff378a6a073eff8.tar.gz |
Add index for ci_runners if they are sharedadd-index-on-ci-builds
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb index 3d47c737322..3c836db27fc 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: 20170121123724) do +ActiveRecord::Schema.define(version: 20170121130655) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -328,6 +328,7 @@ ActiveRecord::Schema.define(version: 20170121123724) do t.boolean "locked", default: false, null: false end + 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 |