logo

mastofe

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

20170905044538_add_index_id_account_id_activity_type_on_notifications.rb (194B)


  1. class AddIndexIdAccountIdActivityTypeOnNotifications < ActiveRecord::Migration[5.1]
  2. def change
  3. add_index :notifications, [:id, :account_id, :activity_type], order: { id: :desc }
  4. end
  5. end