mirror of https://github.com/mastodon/mastodon
Remove unneccesary indices (#4738)
We only look up status_pins by account_id, or account_id and status_id, never by status_idpull/4744/head
parent
ee72a39641
commit
fcca31350d
@ -0,0 +1,6 @@
|
||||
class RemoveStatusPinsAccountIndex < ActiveRecord::Migration[5.1]
|
||||
def change
|
||||
remove_index :status_pins, :account_id
|
||||
remove_index :status_pins, :status_id
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue