20161122163057_remove_unneeded_indexes.rb 339 B

123456789
  1. # frozen_string_literal: true
  2. class RemoveUnneededIndexes < ActiveRecord::Migration[5.0]
  3. def change
  4. remove_index :notifications, name: 'index_notifications_on_account_id'
  5. remove_index :settings, name: 'index_settings_on_target_type_and_target_id'
  6. remove_index :statuses_tags, name: 'index_statuses_tags_on_tag_id'
  7. end
  8. end