discourse/db/migrate/20161102024838_add_user_ava...

7 lines
178 B
Ruby
Raw Normal View History

class AddUserAvatarsIndexes < ActiveRecord::Migration[4.2]
def change
add_index :user_avatars, :custom_upload_id
add_index :user_avatars, :gravatar_upload_id
end
end