Add index of account and reblog to statuses (#5785)
This commit is contained in:
parent
8c0e77d688
commit
a78f66c069
2 changed files with 8 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue