~cytrogen/masto-fe

ref: ef9a85a2d82908478cf7cd7fbc5ea6311200264e masto-fe/db/migrate/20170406215816_add_notifications_and_favourites_indices.rb -rw-r--r-- 257 bytes
ef9a85a2 — renovate[bot] Update dependency webpack-bundle-analyzer to v4.9.1 (#26733) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

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