Add index on mentions status_id
This commit is contained in:
parent
8530f9413b
commit
cfe91ac984
2 changed files with 7 additions and 1 deletions
|
@ -0,0 +1,5 @@
|
|||
class AddIndexOnMentionsStatusId < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
add_index :mentions, :status_id
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue