mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-08-18 14:05:26 +00:00
6 lines
194 B
Ruby
6 lines
194 B
Ruby
class AddIndexIdAccountIdActivityTypeOnNotifications < ActiveRecord::Migration[5.1]
|
|
def change
|
|
add_index :notifications, [:id, :account_id, :activity_type], order: { id: :desc }
|
|
end
|
|
end
|