logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

20171125185353_add_index_reblog_of_id_and_account_to_statuses.rb (207B)


  1. class AddIndexReblogOfIdAndAccountToStatuses < ActiveRecord::Migration[5.1]
  2. disable_ddl_transaction!
  3. def change
  4. add_index :statuses, [:reblog_of_id, :account_id], algorithm: :concurrently
  5. end
  6. end