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

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

  # Set this constant to true if this migration requires downtime.
  DOWNTIME = false

  disable_ddl_transaction!

  def change
    add_concurrent_index :project_import_data, :project_id
  end
end