discourse/db/migrate/20120427150624_add_user_id_index_to_posts.rb
2013-02-05 14:16:51 -05:00

6 lines
108 B
Ruby

class AddUserIdIndexToPosts < ActiveRecord::Migration
def change
add_index :posts, :user_id
end
end