[index] add index on reports.action_taken

This commit is contained in:
Fosco Marotto
2021-01-08 12:36:49 -05:00
parent 152e59a66f
commit c1213f4137
2 changed files with 9 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
class AddIndexOnReportsActionTaken < ActiveRecord::Migration[5.2]
disable_ddl_transaction!
def change
add_index :reports, :action_taken, algorithm: :concurrently
end
end