mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
66d8f99a30
* 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
|