summaryrefslogtreecommitdiff
path: root/db/migrate/20151026182941_add_project_path_index.rb
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