blob: 00e41bf3aba064a6818baa267361dec130cc4245 (
plain) (
blame)
1
2
3
4
5
6
7
|
class AddNotificationsAndFavouritesIndices < ActiveRecord::Migration[5.0]
def change
add_index :notifications, [:activity_id, :activity_type]
add_index :accounts, :url
add_index :favourites, :status_id
end
end
|