The code powering m.abunchtell.com https://m.abunchtell.com
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

9 lines
280 B

  1. class AddIndexOnStreamEntries < ActiveRecord::Migration[5.1]
  2. disable_ddl_transaction!
  3. def change
  4. add_index :stream_entries, [:account_id, :activity_type, :id], algorithm: :concurrently
  5. remove_index :stream_entries, name: :index_stream_entries_on_account_id
  6. end
  7. end