mastodon/db/migrate/20241014010506_remove_duplicate_indexes.rb

13 lines
384 B
Ruby

# frozen_string_literal: true
class RemoveDuplicateIndexes < ActiveRecord::Migration[7.1]
def change
with_options if_exists: true do
remove_index :account_aliases, :account_id
remove_index :account_relationship_severance_events, :account_id
remove_index :custom_filter_statuses, :status_id
remove_index :webauthn_credentials, :user_id
end
end
end