14 lines
262 B
Ruby
14 lines
262 B
Ruby
|
class RemoveChampsExternalIdIndex < ActiveRecord::Migration[6.1]
|
||
|
include Database::MigrationHelpers
|
||
|
|
||
|
disable_ddl_transaction!
|
||
|
|
||
|
def up
|
||
|
remove_index :champs, column: :external_id
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
add_concurrent_index :champs, :external_id
|
||
|
end
|
||
|
end
|