gitlab-org--gitlab-foss/db
Yorick Peterse fd4ad65462
Fix migration for removing MR diff indexes
For whatever reason on some PostgreSQL installations there would be a
separate UNIQUE constraint on the merge_request_id column. Rails'
index_exists?() returns false for this constraint (even when using the
full name), yet the indexes() method returns it.

This commit changes the migration so that the constraint is dropped as
well. MySQL installations don't appear to be affected.

Fixes gitlab-org/gitlab-ce#22136
2016-09-14 16:18:49 +02:00
..
fixtures Move and improvement comment in pipeline fixtures 2016-08-19 14:43:02 +02:00
migrate Fix migration for removing MR diff indexes 2016-09-14 16:18:49 +02:00
schema.rb Move pushes_since_gc to Redis 2016-09-13 22:27:51 +02:00
seeds.rb