Remove old non-unique index on preview_cards statuses join table (#26447)
This commit is contained in:
parent
496eb6f7a4
commit
8c7f3c5332
2 changed files with 10 additions and 2 deletions
|
@ -0,0 +1,9 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class RemoveIndexPreviewCardsStatusesOnStatusIdAndPreviewCardId < ActiveRecord::Migration[7.0]
|
||||
disable_ddl_transaction!
|
||||
|
||||
def change
|
||||
remove_index :preview_cards_statuses, column: [:status_id, :preview_card_id], name: :index_preview_cards_statuses_on_status_id_and_preview_card_id
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue