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
|