Remove duplicate indexes in lists (#5990)
This commit is contained in:
parent
f9f6918148
commit
cfa3f55221
2 changed files with 7 additions and 3 deletions
|
@ -0,0 +1,6 @@
|
|||
class RemoveDuplicateIndexesInLists < ActiveRecord::Migration[5.1]
|
||||
def change
|
||||
remove_index :list_accounts, name: "index_list_accounts_on_account_id"
|
||||
remove_index :list_accounts, name: "index_list_accounts_on_list_id"
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue