Commit 4e62c013 authored by Alper Akgun's avatar Alper Akgun Committed by Andreas Brandl

In example use "remove_concurrent_index" instead of "remove_index"

parent 3eaa9461
......@@ -211,7 +211,7 @@ class MyMigration < ActiveRecord::Migration[4.2]
end
def down
remove_index :table, :column if index_exists?(:table, :column)
remove_concurrent_index :table, :column
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