9 lines
197 B
Ruby
9 lines
197 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddIndexUrlToStatuses < ActiveRecord::Migration[5.2]
|
|
disable_ddl_transaction!
|
|
|
|
def change
|
|
add_index :statuses, :url, algorithm: :concurrently
|
|
end
|
|
end
|