discourse/db/migrate/20161102024838_add_user_ava...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
209 B
Ruby
Raw Normal View History

# 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