Remove duplicate indexes from database (#32454)
This commit is contained in:
10
db/migrate/20241014010506_remove_duplicate_indexes.rb
Normal file
10
db/migrate/20241014010506_remove_duplicate_indexes.rb
Normal 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
|
||||
Reference in New Issue
Block a user