5 lines
119 B
Ruby
5 lines
119 B
Ruby
class IndexesOnPosts < ActiveRecord::Migration
|
|
def change
|
|
add_index(:posts, [:id, :type, :created_at])
|
|
end
|
|
end
|