discourse/db/migrate/20161102024838_add_user_ava...

9 lines
209 B
Ruby

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