2016-08-24 12:49:21 +05:30
|
|
|
# rubocop:disable all
|
|
|
|
# Migration type: online without errors
|
|
|
|
|
2019-02-15 15:39:39 +05:30
|
|
|
class AddIndexOnAwardEmojiUserAndName < ActiveRecord::Migration[4.2]
|
2016-08-24 12:49:21 +05:30
|
|
|
include Gitlab::Database::MigrationHelpers
|
|
|
|
disable_ddl_transaction!
|
|
|
|
|
|
|
|
def change
|
|
|
|
add_concurrent_index(:award_emoji, [:user_id, :name])
|
|
|
|
end
|
|
|
|
end
|