0
0
Fork 0

Remove duplicate indexes from database (#32454)

This commit is contained in:
Matt Jankowski 2024-10-23 09:26:51 -04:00 committed by GitHub
parent c3e684b715
commit fae1de699c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 5 deletions

View file

@ -0,0 +1,10 @@
# frozen_string_literal: true
class RemoveDuplicateIndexes < ActiveRecord::Migration[7.1]
def change
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