ADD some index
This commit is contained in:
parent
6cedf3b530
commit
f6937d96f4
|
@ -0,0 +1,6 @@
|
||||||
|
class AddUserIdIndexToProjects < ActiveRecord::Migration[5.2]
|
||||||
|
def change
|
||||||
|
add_index :projects, :user_id
|
||||||
|
add_index :projects, :name
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in New Issue