mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 05:29:17 -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
|