diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-05-31 16:05:40 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-05-31 16:05:40 +0200 |
commit | 93241149e646f546e9a4406e85ced66c8d54099f (patch) | |
tree | 19a67ecfba4b3fc0852f1da11fa891b195e0b7a0 /db/schema.rb | |
parent | e542583e91dc53698048686cf4268eaeae807973 (diff) | |
download | gitlab-ce-93241149e646f546e9a4406e85ced66c8d54099f.tar.gz |
Make pipeline / stage position index not unique
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb index a3f27f87ff1..ebb4fa6c533 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -518,7 +518,7 @@ ActiveRecord::Schema.define(version: 20180530135500) do end add_index "ci_stages", ["pipeline_id", "name"], name: "index_ci_stages_on_pipeline_id_and_name", unique: true, using: :btree - add_index "ci_stages", ["pipeline_id", "position"], name: "index_ci_stages_on_pipeline_id_and_position", unique: true, using: :btree + add_index "ci_stages", ["pipeline_id", "position"], name: "index_ci_stages_on_pipeline_id_and_position", using: :btree add_index "ci_stages", ["pipeline_id"], name: "index_ci_stages_on_pipeline_id", using: :btree add_index "ci_stages", ["project_id"], name: "index_ci_stages_on_project_id", using: :btree |