20161122163057_remove_unneeded_indexes.rb 308 B

1234567
  1. class RemoveUnneededIndexes < ActiveRecord::Migration[5.0]
  2. def change
  3. remove_index :notifications, name: "index_notifications_on_account_id"
  4. remove_index :settings, name: "index_settings_on_target_type_and_target_id"
  5. remove_index :statuses_tags, name: "index_statuses_tags_on_tag_id"
  6. end
  7. end