Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20160703180340_add_index_on_award_emoji_user_and_name.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0c25f87dfb4b088d83d7711464fa2fbe576bb026 (plain)
1
2
3
4
5
6
7
8
9
10
11
# rubocop:disable all
# Migration type: online without errors

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

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