Commit aeda1813 authored by Andreas Brandl's avatar Andreas Brandl

Merge branch 'patch-35' into 'master'

In example use "remove_concurrent_index" instead of "remove_index"

See merge request gitlab-org/gitlab!19306
parents 3eaa9461 4e62c013
...@@ -211,7 +211,7 @@ class MyMigration < ActiveRecord::Migration[4.2] ...@@ -211,7 +211,7 @@ class MyMigration < ActiveRecord::Migration[4.2]
end end
def down def down
remove_index :table, :column if index_exists?(:table, :column) remove_concurrent_index :table, :column
end end
end end
``` ```
......
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