ADD index for project_educodes table

This commit is contained in:
Jasder 2020-10-23 00:50:02 +08:00
parent af6c8efb2b
commit abcff440e7
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
class AddIndexForProjectIdToProjectEducoders < ActiveRecord::Migration[5.2]
def change
add_index :project_educoders, :repo_name
add_index :project_educoders, :project_id
end
end