fedibird-fe/db/migrate/20200312020757_add_index_url_to_statuses.rb
2021-08-12 07:10:15 +09:00

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