1
0
mirror of https://github.com/discourse/discourse.git synced 2025-03-06 11:19:51 +00:00
discourse/db/migrate/20120427150624_add_user_id_index_to_posts.rb

6 lines
108 B
Ruby
Raw Normal View History

2013-02-05 14:16:51 -05:00
class AddUserIdIndexToPosts < ActiveRecord::Migration
def change
add_index :posts, :user_id
end
end