PERF: Add missing index on user_id for user_second_factors table.

This commit is contained in:
Guo Xiang Tan
2018-07-16 14:21:07 +08:00
parent 214dac05de
commit 6761f8ecbf
2 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
class AddIndexUserIdOnUserSecondFactors < ActiveRecord::Migration[5.2]
def change
add_index :user_second_factors, :user_id
end
end