mirror of https://github.com/mastodon/mastodon
Add index of account and reblog to statuses (#5785)
parent
8c0e77d688
commit
a78f66c069
@ -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