mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-15 14:48:40 +00:00
10 lines
357 B
Ruby
10 lines
357 B
Ruby
# frozen_string_literal: true
|
|
|
|
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'
|
|
end
|
|
end
|