1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-12 05:39:02 +09:00
YuruToot/db/migrate/20180617162849_remove_unused_indexes.rb

10 lines
357 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2018-06-18 01:49:35 +09:00
class RemoveUnusedIndexes < ActiveRecord::Migration[5.2]
def change
remove_index :statuses, :conversation_id, name: 'index_statuses_on_conversation_id'
remove_index :users, :filtered_languages, name: 'index_users_on_filtered_languages'
remove_index :backups, :user_id, name: 'index_backups_on_user_id'
2018-06-18 01:49:35 +09:00
end
end