0
0
Fork 0

Remove unused indexes (#7829)

This commit is contained in:
Eugen Rochko 2018-06-17 18:49:35 +02:00 committed by GitHub
parent b347d55432
commit bb21c6414d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 4 deletions

View file

@ -0,0 +1,7 @@
class RemoveUnusedIndexes < ActiveRecord::Migration[5.2]
def change
remove_index :statuses, name: "index_statuses_on_conversation_id"
remove_index :users, name: "index_users_on_filtered_languages"
remove_index :backups, name: "index_backups_on_user_id"
end
end