20180216120010_add_pages_domain_verified_at_index.rb 309 Bytes
Newer Older
1
class AddPagesDomainVerifiedAtIndex < ActiveRecord::Migration[4.2]
2 3 4 5 6 7 8 9 10 11 12 13 14 15
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  disable_ddl_transaction!

  def up
    add_concurrent_index :pages_domains, :verified_at
  end

  def down
    remove_concurrent_index :pages_domains, :verified_at
  end
end