mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 19:00:32 -06:00
6 lines
108 B
Ruby
6 lines
108 B
Ruby
class AddUserIdIndexToPosts < ActiveRecord::Migration
|
|
def change
|
|
add_index :posts, :user_id
|
|
end
|
|
end
|