summaryrefslogtreecommitdiff
path: root/db/schema.rb
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2018-02-07 12:46:50 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2018-02-07 12:46:50 +0000
commit2122d7225012b48bad8121e617bc1dbb06f67cf3 (patch)
treec97494fb0bf78471725d230d463f44c069b84b01 /db/schema.rb
parent9bd044d9a74b6dd2fa252ed085562d56aef5a6ac (diff)
parent394c1c65883883d5ac8bcbeecd9fe05b1d3fd87b (diff)
downloadgitlab-ce-2122d7225012b48bad8121e617bc1dbb06f67cf3.tar.gz
Merge branch 'fix/gb/fix-redundant-pipeline-stages' into 'master'
Remove redundant pipeline stages from the database Closes #41769 See merge request gitlab-org/gitlab-ce!16580
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb
index 7282ecfc3e7..9ab4dabfb7d 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -451,7 +451,7 @@ ActiveRecord::Schema.define(version: 20180206200543) do
t.integer "lock_version"
end
- add_index "ci_stages", ["pipeline_id", "name"], name: "index_ci_stages_on_pipeline_id_and_name", using: :btree
+ 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"], name: "index_ci_stages_on_pipeline_id", using: :btree
add_index "ci_stages", ["project_id"], name: "index_ci_stages_on_project_id", using: :btree