Remove duplicate indexes from database (#32454)
This commit is contained in:
parent
c3e684b715
commit
fae1de699c
2 changed files with 11 additions and 5 deletions
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
|
Loading…
Add table
Add a link
Reference in a new issue