This repository has been archived on 2024-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
|
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
|