2023-07-12 07:47:08 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-04-06 22:04:09 +00:00
|
|
|
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
|