[index] add index on reports.action_taken
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
class AddIndexOnReportsActionTaken < ActiveRecord::Migration[5.2]
|
||||
disable_ddl_transaction!
|
||||
|
||||
def change
|
||||
add_index :reports, :action_taken, algorithm: :concurrently
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user