6 lines
108 B
Ruby
6 lines
108 B
Ruby
|
class AddUserIdIndexToPosts < ActiveRecord::Migration
|
||
|
def change
|
||
|
add_index :posts, :user_id
|
||
|
end
|
||
|
end
|