discourse/db/migrate/20161102024920_add_categories_indexes.rb

7 lines
161 B
Ruby

class AddCategoriesIndexes < ActiveRecord::Migration[4.2]
def change
add_index :categories, :logo_url
add_index :categories, :background_url
end
end