mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-09-11 20:57:44 +00:00
7 lines
201 B
Ruby
7 lines
201 B
Ruby
|
class AddIndexFavouritesOnAccountIdAndId < ActiveRecord::Migration[5.1]
|
||
|
def change
|
||
|
# Used to query favourites of an account ordered by id.
|
||
|
add_index :favourites, [:account_id, :id]
|
||
|
end
|
||
|
end
|