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

20170130204620_add_index_to_project_authorizations.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e9a0aee4d6a62d2828b02e07a044b9ce8daff01b (plain)
1
2
3
4
5
6
7
8
9
10
11
class AddIndexToProjectAuthorizations < ActiveRecord::Migration
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  disable_ddl_transaction!

  def up
    add_concurrent_index(:project_authorizations, :project_id)
  end
end