summaryrefslogtreecommitdiff
path: root/db/migrate/20160703180340_add_index_on_award_emoji_user_and_name.rb
blob: 8a576b99de0fd51e1d28c27eb64540e49bf86532 (plain)
1
2
3
4
5
6
7
8
9
10
11
# rubocop:disable all
# Migration type: online without errors

class AddIndexOnAwardEmojiUserAndName < ActiveRecord::Migration[4.2]
  include Gitlab::Database::MigrationHelpers
  disable_ddl_transaction!

  def change
    add_concurrent_index(:award_emoji, [:user_id, :name])
  end
end