2 changed files with 8 additions and 1 deletions
@ -0,0 +1,6 @@
|
||||
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 |
||||
Loading…
Reference in new issue