The code powering m.abunchtell.com https://m.abunchtell.com
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 

11 рядки
389 B

  1. class AddIndexOnStatusesForApiV1AccountsAccountIdStatuses < ActiveRecord::Migration[5.1]
  2. disable_ddl_transaction!
  3. def change
  4. safety_assured do
  5. add_index :statuses, [:account_id, :id, :visibility, :updated_at], order: { id: :desc }, algorithm: :concurrently, name: :index_statuses_20180106
  6. end
  7. remove_index :statuses, name: :index_statuses_on_account_id_id
  8. end
  9. end