Commit c0ba146b authored by Andreas Brandl's avatar Andreas Brandl

Also remove extra index

parent 2f40a2ee
...@@ -13,6 +13,9 @@ class RemoveRendundantIndexFromReleases < ActiveRecord::Migration[5.2] ...@@ -13,6 +13,9 @@ class RemoveRendundantIndexFromReleases < ActiveRecord::Migration[5.2]
def up def up
remove_concurrent_index_by_name :releases, 'index_releases_on_project_id' remove_concurrent_index_by_name :releases, 'index_releases_on_project_id'
# This is an extra index that is not present in db/schema.rb but known to exist on some installs
remove_concurrent_index_by_name :releases, 'releases_project_id_idx'
end end
def down def down
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment