From cfa3f55221733664004deb14f70764be4752b7bb Mon Sep 17 00:00:00 2001 From: abcang Date: Wed, 13 Dec 2017 01:38:42 +0900 Subject: Remove duplicate indexes in lists (#5990) --- db/migrate/20171212195226_remove_duplicate_indexes_in_lists.rb | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 db/migrate/20171212195226_remove_duplicate_indexes_in_lists.rb (limited to 'db/migrate') diff --git a/db/migrate/20171212195226_remove_duplicate_indexes_in_lists.rb b/db/migrate/20171212195226_remove_duplicate_indexes_in_lists.rb new file mode 100644 index 000000000..03f2591a8 --- /dev/null +++ b/db/migrate/20171212195226_remove_duplicate_indexes_in_lists.rb @@ -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 -- cgit