debian-mirror-gitlab/db/migrate/20160703180340_add_index_on_award_emoji_user_and_name.rb

12 lines
286 B
Ruby
Raw Normal View History

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