Add index of account and reblog to statuses (#5785)
parent
5dd8a36c09
commit
17bde15f53
@ -0,0 +1,6 @@
|
||||
class AddIndexAccountAndReblogOfIdToStatuses < ActiveRecord::Migration[5.1]
|
||||
def change
|
||||
commit_db_transaction
|
||||
add_index :statuses, [:account_id, :reblog_of_id], algorithm: :concurrently
|
||||
end
|
||||
end
|
Loading…
Reference in new issue