The code powering m.abunchtell.com https://m.abunchtell.com
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 

13 řádky
403 B

  1. class AddIndexAccountAndReblogOfIdToStatuses < ActiveRecord::Migration[5.1]
  2. disable_ddl_transaction!
  3. def up
  4. # This index has been superseded by migration 20171125185353
  5. # add_index :statuses, [:account_id, :reblog_of_id], algorithm: :concurrently
  6. end
  7. def down
  8. remove_index :statuses, [:account_id, :reblog_of_id] if index_exists?(:statuses, [:account_id, :reblog_of_id])
  9. end
  10. end