docbrown/db/migrate/20190306082543_add_index_to_articles_path.rb
Anna Buianova 343f109c0f Optimize stories (#1988)
* Add db index to articles path

* Slight stories optimizations

* Select only needed fields for the flare tag

* Revert the last commit (to check builds)

* Return selecting only needed fields for tag
2019-03-12 16:38:22 -07:00

5 lines
114 B
Ruby

class AddIndexToArticlesPath < ActiveRecord::Migration[5.1]
def change
add_index :articles, :path
end
end