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

20151026182941_add_project_path_index.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bf0444450cd3ea8e1b7a5852b3322e170bb51ad8 (plain)
1
2
3
4
5
6
7
8
9
10
# rubocop:disable all
class AddProjectPathIndex < ActiveRecord::Migration[4.2]
  def up
    add_index :projects, :path
  end

  def down
    remove_index :projects, :path
  end
end