gitlab-org--gitlab-foss/db
Greg Stark 23b58e5468
Remove an unneeded index on ci_builds left in some databases
Migration 20170919211300_remove_temporary_ci_builds_index.rb created a
temporary partial index and tried to drop it at the end of the
migration. In some circumstances apparently it failed to drop the
index and it ended up in our schema.rb.

This accidentally failed to fail due to a bug in the regular
expression for partial indexes which caused the index creation in
schema.rb to be ignored. Now that that's fixed we could be
resurrecting this zombie index from the past in some but not all
databases.

Add a migration to drop this index if it's present to reconcile this
discrepancy.
2017-09-26 11:33:20 +02:00
..
fixtures Remove depreceted and big projects 2017-09-20 07:42:47 +00:00
migrate Remove an unneeded index on ci_builds left in some databases 2017-09-26 11:33:20 +02:00
post_migrate Fix PG::UniqueViolation external_email migration 2017-09-25 06:17:48 -04:00
schema.rb Remove an unneeded index on ci_builds left in some databases 2017-09-26 11:33:20 +02:00
seeds.rb