mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-08-18 05:54:57 +00:00
* Add a ReportFilter class * Add reports and targeted_reports relationships to Account * Use ReportFilter from admin/reports controller * Link to admin/reports filtered views from admin account show view * Add indexes to reports.account_id and reports.target_account_id
7 lines
170 B
Ruby
7 lines
170 B
Ruby
class AddIndexesToReportsForAccounts < ActiveRecord::Migration[5.0]
|
|
def change
|
|
add_index :reports, :account_id
|
|
add_index :reports, :target_account_id
|
|
end
|
|
end
|