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: 117f65c1a1b2dd803beb82ce05e922a356476168 (plain)
1
2
3
4
5
6
7
8
9
10
# rubocop:disable all
class AddProjectPathIndex < ActiveRecord::Migration
  def up
    add_index :projects, :path
  end

  def down
    remove_index :projects, :path
  end
end