logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

20170406215816_add_notifications_and_favourites_indices.rb (226B)


  1. class AddNotificationsAndFavouritesIndices < ActiveRecord::Migration[5.0]
  2. def change
  3. add_index :notifications, [:activity_id, :activity_type]
  4. add_index :accounts, :url
  5. add_index :favourites, :status_id
  6. end
  7. end