mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-08-25 01:44:52 +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
|