fedibird-fe/db/migrate/20200312020757_add_index_url_to_statuses.rb

10 lines
197 B
Ruby
Raw Normal View History

2020-03-21 04:25:30 +00:00
# frozen_string_literal: true
class AddIndexUrlToStatuses < ActiveRecord::Migration[5.2]
disable_ddl_transaction!
def change
add_index :statuses, :url, algorithm: :concurrently
end
end