Add filtering to staff logs page

This commit is contained in:
Neil Lalonde
2013-08-09 16:58:57 -04:00
parent 652169daf6
commit bb492eb8bf
9 changed files with 115 additions and 26 deletions

View File

@@ -0,0 +1,7 @@
class AddFilterIndexesToStaffActionLogs < ActiveRecord::Migration
def change
add_index :staff_action_logs, [:action, :id]
add_index :staff_action_logs, [:staff_user_id, :id]
add_index :staff_action_logs, [:target_user_id, :id]
end
end