Add index for `question_id` on `inboxes`

This commit is contained in:
Karina Kwiatek 2022-04-15 21:40:50 +02:00 committed by Karina Kwiatek
parent 583a3ba519
commit b9dee02656
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
class AddIndexForQuestionIdIndexOnInboxes < ActiveRecord::Migration[6.1]
def change
add_index :inboxes, :question_id
end
end